[SA18464] Bit 5 Blog Script Insertion and SQL Injection Vulnerabilities

2006-01-16T00:00:00
ID SECURITYVULNS:DOC:11049
Type securityvulns
Reporter Securityvulns
Modified 2006-01-16T00:00:00

Description

TITLE: Bit 5 Blog Script Insertion and SQL Injection Vulnerabilities

SECUNIA ADVISORY ID: SA18464

VERIFY ADVISORY: http://secunia.com/advisories/18464/

CRITICAL: Moderately critical

IMPACT: Security Bypass, Cross Site Scripting, Manipulation of data

WHERE: >From remote

SOFTWARE: Bit 5 Blog 8.x http://secunia.com/product/6821/

DESCRIPTION: Aliaksandr Hartsuyeu has reported some vulnerabilities in Bit 5 Blog, which can be exploited by malicious people to conduct script insertion and SQL injection attacks.

1) Input passed to the "username" and "password" parameters in "processlogin.php" isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "comment" parameter in "addcomment.php" isn't properly sanitised before being used. This can be exploited to inject arbitrary script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed.

Example: <a href="javascript:[code]">[text]</a>

The vulnerabilities have been reported in version 8.01. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY: Aliaksandr Hartsuyeu

ORIGINAL ADVISORY: http://evuln.com/vulns/31/summary.html http://evuln.com/vulns/32/summary.html


About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.

Subscribe: http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/

Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.