Secunia Logo
 
JBlog Multiple Vulnerabilities
Secunia Advisory: SA26165
Release Date: 2007-07-23
Last Update: 2007-09-19
Popularity: 5,240 views

Critical:
Moderately critical
Impact: Security Bypass
Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:JBlog 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3973
CVE-2007-3974
CVE-2007-4919


Description:
S4mi has discovered some vulnerabilities in JBlog, which can be exploited by malicious people to conduct cross-site scripting attacks, bypass certain security restrictions, and conduct SQL injection attacks.

1) A vulnerability is caused due to improper authentication verification in admin/ajoutaut.php. This can be exploited to create new administrators and other user types, without having any valid user credentials.

2) Input passed to the "id" parameter in index.php (when "pcomm" is set to "com") and the "search" parameter in recherche.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.

3) Input passed to the "id" parameter in index.php 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 of this vulnerability allows e.g. retrieving administrator usernames and password hashes, but requires that "magic_quotes_gpc" is disabled.

4) Input passed to the "id" parameter in admin/modifpost.php 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 of this vulnerability allows e.g. retrieving administrator usernames and password hashes, but requires valid administrator credentials and that "magic_quotes_gpc" is disabled.

The vulnerabilities are confirmed in version 1.0. Other versions may also be affected.

Solution:
Restrict access to the admin/ directory (e.g. with ".htaccess"). Edit the source code to ensure that input is properly sanitised.

Provided and/or discovered by:
S4mi

Changelog:
2007-07-27: Added CVE reference.
2007-09-17: Added vulnerabilities #3 and #4 from S4mi.
2007-09-19: Added CVE reference.

Original Advisory:
1-2) http://milw0rm.com/exploits/4211
3-4) http://milw0rm.com/exploits/4408


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. VLC Media Player Real Demuxer Integer Overflow Vulnerability // 71 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 68 views
3. Microsoft Office Communications Server SIP INVITE Denial of Service // 53 views
4. RakhiSoftware Shopping Cart Multiple Vulnerabilities // 41 views
5. Basic PHP CMS "id" SQL Injection Vulnerability // 39 views
6. Active Trade "username" and "password" SQL Injection Vulnerabilities // 39 views
7. Debian update for wireshark // 39 views
8. ASPReferral "AccountID" SQL Injection Vulnerability // 36 views
9. Active Newsletter "email" and "password" SQL Injection Vulnerabilities // 36 views
10. Ocean12 FAQ Manager Pro "ID" SQL Injection Vulnerability // 36 views