Serendipity comment.php url Parameter SQL Injection

high Nessus Plugin ID 60097

Synopsis

The remote web server hosts a PHP script that is affected by a SQL injection vulnerability.

Description

The version of the Serendipity installed on the remote host is affected by a SQL injection vulnerability because the 'include/functions_trackbacks.inc.php' script does not properly sanitize user-supplied input passed via the 'url' parameter to the 'comment.php' script. Provided that PHP's 'magic_quotes_gpc' setting is disabled, this may allow an attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data.

Solution

Upgrade to version 1.6.2 or later.

See Also

https://www.htbridge.com/advisory/HTB23092

http://blog.s9y.org/archives/241-Serendipity-1.6.2-released.html

Plugin Details

Severity: High

ID: 60097

File Name: serendipity_comment_url_sql_injection.nasl

Version: 1.9

Type: remote

Family: CGI abuses

Published: 7/23/2012

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Vulnerability Information

CPE: cpe:/a:s9y:serendipity

Required KB Items: www/PHP, www/serendipity

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: No exploit is required

Exploited by Nessus: true

Patch Publication Date: 5/16/2012

Vulnerability Publication Date: 5/16/2012

Exploitable With

Elliot (Serendipity 1.6.1 SQL Injection)

Reference Information

CVE: CVE-2012-2762

BID: 53620