Total Tests:
This Week:
Stay in Touch

Weekly newsletter on AI, Application Security & Cybercrime

Your data will stay confidential Private and Confidential

Remote Code Execution in Microweber

Advisory ID:HTB23175
Vulnerable Versions:0.8 and probably prior
Tested Version:0.8
Advisory Publication:September 25, 2013 [without technical details]
Vendor Notification:September 25, 2013
Vendor Fix:September 26, 2013
Public Disclosure:October 16, 2013
Latest Update:September 27, 2013
Vulnerability Type:Improper Access Control [CWE-284]
CVE Reference:CVE-2013-5984
Risk Level:Critical
CVSSv2 Base Score:10 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab

Advisory Details:

High-Tech Bridge Security Research Lab discovered vulnerability in Microweber, which can be exploited to delete arbitrary files and compromise vulnerable system as a consequence.

1) Improper Access Control in Microweber: CVE-2013-5984
Vulnerability exists due to improper access restriction to "/userfiles/modules/admin/backup/delete.php" script and insufficient validation of user-supplied input passed via "file" HTTP GET parameter.
A remote unauthenticated attacker can delete arbitrary files on the target system with privileges of the web server using directory traversal sequences and NULL byte.
The exploitation example below deletes the application's configuration file "config.php":
http://[host]/userfiles/modules/admin/backup/delete.php?file=../../../../../ config.php%00
After deletion of the "config.php" file the application will suggest to re-install it from scratch when accessing "/index.php" file. Further exploitation of this vulnerability allows the attacker to reinstall the application and get full administrative access to it.
After successful re-installation the attacker can use "Admin Console" module of the application to execute arbitrary PHP code on the target system.
Simple exploit below displays output of "phpinfo()" PHP function after successful re-installation of application:
POST /module/ HTTP/1.1
module=admin%2Fconsole%2Fterm&data-type=admin%2Fconsole%2Fterm&i d=mw_exec_term_command&class=+module++&exec_command=cGhwaW5mbw==&exec_comman d_params=MQ%3D%3D

How to Detect Improper Access Control Vulnerabilities
Free Website Security Test
  • Non-intrusive GDPR Test
  • Non-intrusive PCI DSS Test
Try Free Test
ImmuniWeb® On-Demand
  • Complete GDPR Audit
  • Complete PCI DSS Audit
  • Remediation Guidelines
  • DevSecOps Integration
Learn More

Update to Microweber version 0.830

More Information:

[1] High-Tech Bridge Advisory HTB23175 - - Remote Code Execution in Microweber.
[2] Microweber - - Microweber is free drag and drop cms and website builder.
[3] Common Vulnerabilities and Exposures (CVE) - - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - - targeted to developers and security practitioners, CWE is a formal list of software weakness types.
[5] ImmuniWeb® - Leveraging the power of machine-learning and genius of human brain to deliver the most advanced web application security and penetration testing.
[6] ImmuniWeb® SSLScan - Test your servers for security and compliance with PCI DSS, HIPAA and NIST.
User Comments
Add Comment

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Ask a Question