Serendipity Real name and Username fields cross-site scripting

serendipity-realname-username-xss (40851) The risk level is classified as MediumMedium Risk

Description:

Serendipity is vulnerable to cross-site scripting, caused by improper validation of user-supplied input. A remote attacker could exploit this vulnerability using the Real name or Username field to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

Platforms Affected:

  • Debian, Debian Linux 4.0
  • s9y, Serendipity prior to 1.3-beta1

Remedy:

Upgrade to the latest version of Serendipity (1.3-beta1 or later), available from the Serendipity Web site. See References.

Consequences:

Gain Access

References:

  • Full-Disclosure Mailing List, Tue, 26 Feb 2008 15:11:40 +0100, Backend Cross Site Scripting (XSS) in Serendipity (S9Y) 1.2.1, CVE-2008-0124 at http://seclists.org/fulldisclosure/2008/Feb/0457.html.
  • Serendipity Web site, Serendipity Weblog System at http://www.s9y.org/.
  • BID-28003: S9Y Serendipity 'Real Name' Field HTML Injection Vulnerability
  • CVE-2008-0124: Cross-site scripting (XSS) vulnerability in Serendipity (S9Y) before 1.3-beta1 allows remote authenticated users to inject arbitrary web script or HTML via (1) the Real name field in Personal Settings, which is presented to readers of articles; or (2) a file upload, as demonstrated by a .htm, .html, or .js file.
  • DSA-1528: serendipity -- insufficient input sanitising
  • FrSIRT/ADV-2008-0700: Serendipity Data Handling Client-Side Cross Site Scripting Vulnerabilities
  • SA29128: Serendipity Script Insertion and Cross-Site Scripting
  • SECTRACK ID: 1019502: Serendipity Input Validation Hole in Multi-User Back End Permits Cross-Site Scripting Attacks

Reported:

Feb 26, 2008

The information within this database may change without notice. 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. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page