Some vulnerabilities have been discovered in JAF CMS, which can be exploited by malicious people to conduct script insertion attacks and compromise a vulnerable system.
1) Input passed to the "message" parameter in jafshout.php and the "name", "url", "title", and "about" parameters when posting in the forum is not properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which is executed in a user's browser session in context of an affected site when the malicious user data is viewed.
This can also be exploited to inject and execute arbitrary PHP code via the "message" parameter passed in jafshout.php.
2) Input passed to the "website" and "main_dir" parameters in module/forum/forum.php, module/forum/main.php, and module/forum/headlines.php is not properly verified before being used to include files. This can be exploited to execute arbitrary PHP code by including files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.
The vulnerabilities are confirmed in version 4.0 RC1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and verified.
Provided and/or discovered by: 1) NanoyMaster
2) Kacper and an anonymous person.
Original Advisory: 2) http://www.rahim.webd.pl/exploity/Exploits/92.txt
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: JAF CMS Multiple Vulnerabilities
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.