BLOG:CMS index.php URI SQL Injection

2006-07-05T13:33:52
ID OSVDB:27027
Type osvdb
Reporter Ellipsis Security(securityconnection@gmail.com)
Modified 2006-07-05T13:33:52

Description

Vulnerability Description

BLOG:CMS contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the index.php script not properly sanitizing user supplied input passed via the URL. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Technical Description

This vulnerability is only present when the magic_quotes_gpc PHP option is 'off'.

Solution Description

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

Short Description

BLOG:CMS contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the index.php script not properly sanitizing user supplied input passed via the URL. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Manual Testing Notes

http://[target]/?1'[SQL] http://[target]/?item='[SQL] http://[target]/?blog='[SQL] http://[target]/?member='[SQL] http://[target]/?typeface=1'[SQL] http://[target]/?results='[SQL] http://[target]/?DokuWiki='[SQL] http://[target]/?archives='[SQL] http://[target]/?category='[SQL] http://[target]/?PHPSESSID='[SQL] http://[target]/?results=1&blog='[SQL] http://[target]/?results=1&item='[SQL] http://[target]/?member=admin&category='[SQL] http://[target]/?query='[SQL]&amount=0&blogid=1 http://[target]/?query=1&amount='[SQL]&blogid=1 http://[target]/?query=1&amount=0&blogid='[SQL] http://[target]/?action.php?action=votepositive&itemid=1'[SQL]

References:

Vendor URL: http://blogcms.com Secunia Advisory ID:20955 Related OSVDB ID: 27028 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-07/0058.html