Lucene search
K

Digital Scribe 1.4.1 SQL Injection

🗓️ 13 Dec 2009 00:00:00Reported by Salvatore FrestaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

Digital Scribe 1.4.1 SQL Injection vulnerabilities in free online teacher syste

Code
`Digital Scribe 1.4.1 Multiple SQL Injection Vulnerabilities  
  
Name Digital Scribe  
Vendor http://www.digital-scribe.org  
Versions Affected 1.4.1  
  
Author Salvatore Fresta aka Drosophila  
Website http://www.salvatorefresta.net  
Contact salvatorefresta [at] gmail [dot] com  
Date 2009-12-11  
  
X. INDEX  
  
I. ABOUT THE APPLICATION  
II. DESCRIPTION  
III. ANALYSIS  
IV. SAMPLE CODE  
V. FIX  
VI. DISCLOSURE TIMELINE  
  
  
I. ABOUT THE APPLICATION  
  
The Digital Scribe is a free, intuitive system designed to  
help teachers put student work and homework assignments  
online.  
  
  
II. DESCRIPTION  
  
This application is affected by many SQL Injection  
security flaws. In order to exploit they, the Magic Quotes  
GPG (php.ini) must be Off except one.  
I tested 1.4.1 version only, however other versions may be  
also vulnerable.  
  
  
III. ANALYSIS  
  
Summary:  
  
A) Multiple SQL Injection  
  
A) Multiple SQL Injection  
  
Multiple SQL Injection issues has been found in Digital  
Scribe version 1.4.1 and no authentication is required  
in order to exploit these vulnerabilities.  
The most issues required the Magic Quotes GPG setted to  
off except one (stuworkdisplay.php).  
For semplicity I reported only this last one vulnerable  
code.  
  
Vulnerable code:  
  
........  
  
$show = mysql_query("SELECT * FROM ".$conf['tbl']['projecttable']."  
WHERE(ID=$HTTP_GET_VARS[ID])");  
  
........  
  
  
IV. SAMPLE CODE  
  
http://site/path/stuworkdisplay.php?ID=-1) UNION ALL SELECT  
version(),user(),3,4,5,6,7,8,9,10,11%23  
  
  
V. FIX  
  
$id = intval($_GET['ID']);  
$show = mysql_query("SELECT * FROM ".$conf['tbl']['projecttable']."  
WHERE(ID=$id)");  
  
  
VIII. DISCLOSURE TIMELINE  
  
2009-12-11 Bug discovered  
2009-12-11 Initial vendor contact  
2009-12-11 Advisory Release  
`

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

13 Dec 2009 00:00Current
0.1Low risk
Vulners AI Score0.1
22