Lucene search
K

Dir2web3 3.0 SQL Injection / Information Disclosure

🗓️ 05 Aug 2012 00:00:00Reported by Daniel CorreaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 38 Views

Dir2web3 3.0 SQL Injection & Information Disclosur

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2012-4070
7 Aug 201200:00
circl
CVE
CVE-2012-4069
12 Aug 201217:00
cve
CVE
CVE-2012-4070
12 Aug 201217:00
cve
Cvelist
CVE-2012-4069
12 Aug 201217:00
cvelist
Cvelist
CVE-2012-4070
12 Aug 201217:00
cvelist
EUVD
EUVD-2012-4013
7 Oct 202500:30
euvd
EUVD
EUVD-2012-4014
7 Oct 202500:30
euvd
NVD
CVE-2012-4069
12 Aug 201217:55
nvd
NVD
CVE-2012-4070
12 Aug 201217:55
nvd
Prion
Improper access control
12 Aug 201217:55
prion
Rows per page
`Title:  
======  
Dir2web3 Multiple Vulnerabilities  
  
Date:  
=====  
05/08/2012  
  
Author:  
=======  
Daniel Correa (http://www.sinfocol.org/)  
  
Vulnerable software:  
====================  
Dir2web v3.0 (http://www.dir2web.it/)  
  
CVE:  
====  
CVE-2012-4069  
CVE-2012-4070  
  
Details:  
========  
There are two vulnerabilities identified on Dir2web v3.0:  
  
Information disclosure (CVE-2012-4069):  
Database folder is public and it is not protected via .htaccess. An attacker  
can download the entire database and look for hidden pages on the website.  
  
SQL Injection (CVE-2012-4070):  
Preg_match function is not enough to protect GET/POST parameters. An  
attacker  
can easily make a SQL Injection over the application.  
  
Exploit:  
========  
Information disclosure:  
http://site/_dir2web/system/db/website.db  
  
SQL Injection:  
http://site/index.php?wpid=homepage&oid=6a303a0aaa' OR id > 0-- -  
  
Patch:  
======  
Information disclosure:  
Create .htaccess file on _dir2web folder with the following content:  
order deny, follow  
deny from all  
  
SQL Injection:  
Fix the regular expression in dispatcher.php file located on  
_dir2web/system/src folder.  
  
Replace:  
'/[a-zA-Z0-9]{10}/'  
With:  
'/^[a-zA-Z0-9]{10}$/'  
  
Timeline:  
=========  
13/07/2012: Vendor contacted  
25/07/2012: CERT contacted  
27/07/2012: CVE assigned  
05/08/2012: Vulnerability published on Bugtraq  
  
--   
Regards,  
Daniel Correa  
  
`

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