Some vulnerabilities have been reported in LightBlog, which can be exploited by malicious people to disclose sensitive information, bypass certain security restrictions, or compromise a vulnerable system.
1) Input passed to the "username_post" parameter in login.php (when "password_post" is set) and the "Lightblog_username" cookie in check_user.php (when the "Lightblog_password" cookie is set) is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes.
Successful exploitation requires that "magic_quotes_gpc" is disabled.
The vulnerabilities are confirmed in version 9.8. Other versions may also be affected.
2) Input passed via parameters (e.g. "email_post") to register.php is not properly sanitised before being stored within a php file. This can be exploited to inject and execute arbitrary PHP code.
3) Input passed via the "Lightblog_username" cookie in check_user.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks.
NOTE: This can further be exploited to gain access to the application by providing a specially crafted "Lightblog_username" cookie and to upload and execute arbitrary PHP code.
Vulnerabilities #2 and #3 are reported in version 9.9.2. Other versions may also be affected.
Solution: Use another product.
Provided and/or discovered by: 1) JosS
Original Advisory: 1) http://milw0rm.com/exploits/6797
2, 3) http://milw0rm.com/exploits/8543
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: LightBlog 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.