|
 |
|
BlogPHP SQL Injection and Cross-Site Scripting
|
|
|
|
|
Secunia Advisory:
|
SA28756
|
|
|
Release Date:
|
2008-02-04
|
|
Last Update:
|
2008-02-13
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Cross Site Scripting Manipulation of data Exposure of sensitive information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | BlogPHP 2.x
|
| | CVE reference: | CVE-2008-0678 (Secunia mirror) CVE-2008-0679 (Secunia mirror)
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: Dr.Crash has discovered two vulnerabilities in BlogPHP, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
1) Input passed to the "id" parameter in index.php (when "act" is set to "page") is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation allows e.g. retrieving administrator usernames and password hashes, but requires knowledge of the database table prefix and that "magic_quotes_gpc" is disabled.
2) Input passed to the "search" parameter in index.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities are confirmed in version 2.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Provided and/or discovered by: Dr.Crash
Changelog: 2008-02-13: Added CVE reference.
Original Advisory: http://milw0rm.com/exploits/5042
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
1 Related Secunia Security Advisories
|
|
|
1. BlogPHP Multiple Vulnerabilities
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|