Website Baker REMEMBER_KEY Cookie SQL Injection

medium Nessus Plugin ID 24235

Synopsis

The remote web server contains a PHP script that is prone to a SQL injection attack.

Description

The remote host is running Website Baker, a PHP-based content management system.

The installed version of Website Baker fails to validate input to the 'REMEMBER_KEY' cookie before using it in 'framework/class.login.php' to construct SQL queries. Provided PHP's 'magic_quotes_gpc' setting is disabled, an unauthenticated, remote attacker can leverage this issue to manipulate database queries, possibly to gain administrative access to the application or launch other sorts of SQL injection attacks against the affected host.

Solution

Unknown at this time.

See Also

https://www.securityfocus.com/archive/1/457684/30/0/threaded

Plugin Details

Severity: Medium

ID: 24235

File Name: websitebaker_remember_key_sql_injection.nasl

Version: 1.20

Type: remote

Family: CGI abuses

Published: 1/23/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.1

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Vulnerability Information

Required KB Items: www/PHP

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Vulnerability Publication Date: 1/22/2007

Reference Information

CVE: CVE-2007-0527

BID: 22176

CWE: 89