__GiReX__ has discovered some vulnerabilities in 1024 CMS, which can be exploited by malicious people to conduct SQL injection attacks or to disclose sensitive information.
1) Input passed via the "cookpass" cookie parameter is not properly sanitised before being used in an SQL query in includes/system.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation allows e.g. retrieving the administrator's password hash, but requires that "magic_quotes_gpc" is disabled.
2) Input passed to the "lang" parameter in pages/print/default/ops/news.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources.
Successful exploitation requires that "register_globals" is enabled and "magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 1.4.1. 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: __GiReX__
Original Advisory: http://milw0rm.com/exploits/5434
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 email@example.com
Subject: 1024 CMS SQL Injection and File Inclusion
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.