Two vulnerabilities and a security issue have been discovered in e107, which can be exploited by malicious users to conduct SQL injection attacks and by malicious people to compromise a vulnerable system.
1) Input passed via the "click_url" parameter to e107_admin/banner.php is not properly sanitised before being used in an SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation requires access to the administrative banner section.
2) Input passed via the "loginname" parameter to usersettings.php while updating user profiles is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
3) The application implements checks for "[php]" BBCodes in an insufficient manner. This can be exploited to pass "[php]" BBCode to the BBCode parser e.g. via the "toEmail()" method in e107_handlers/e_parse_class.php by sending a specially crafted POST request to contact.php.
Successful exploitation allows execution of arbitrary PHP code.
The vulnerabilities are confirmed in version 0.7.20. Other versions may also be affected.
Solution: Update to version 0.7.22, which fixes vulnerabilities #2 and #3. Vulnerability #1 is fixed in the SVN repository.
Provided and/or discovered by: 1) High-Tech Bridge SA
2,3) Stefan Esser
Original Advisory: High-Tech Bridge SA:
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: e107 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.