SaralBlog viewprofile.php id Variable SQL Injection

2005-12-06T00:45:17
ID OSVDB:21520
Type osvdb
Reporter r0t(krustevs@googlemail.com)
Modified 2005-12-06T00:45:17

Description

Vulnerability Description

Saralblog contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'viewprofile.php' script not properly sanitizing user-supplied input to the 'id' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

Saralblog contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the 'viewprofile.php' script not properly sanitizing user-supplied input to the 'id' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Manual Testing Notes

http://[target]/viewprofile.php?id=999%20union%20select%201,2,3,4,5,6,7/*

References:

Vendor URL: http://www.saralblog.org/ Other Advisory URL: http://pridels.blogspot.com/2005/12/saralblog-v1-sql-inj-vuln.html Other Advisory URL: http://www.frsirt.com/bulletins/3009 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-01/0372.html ISS X-Force ID: 23484 CVE-2005-4058