Document Title:
===============
DB S Bahn Muenchen - SQL Injection Vulnerability
Release Date:
=============
2011-08-14
Vulnerability Laboratory ID (VL-ID):
====================================
167
Product & Service Introduction:
===============================
Official Website of Deutsche Bahn (S-Bahn Muenchen)
(Copy of the Vendor Homepage: http://www.s-bahn-muenchen.de)
Abstract Advisory Information:
==============================
An anonymous laboratory researcher discovered a blind SQL Injection vulnerability on the official S-Bahn Muenchen vendor website (DB).
Vulnerability Disclosure Timeline:
==================================
2011-08-15: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Affected Product(s):
====================
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Critical
Technical Details & Description:
================================
A SQL Injection Vulnerability is detected on S-Bahn Muenchen website. The vulnerability allows an remote attacker to
inject/execute own sql statements on the affected application(dbms).
Vulnerable Module(s):
[+] Public Main Module - (document_id)
--- Exception Logs ---
Error References:
mysql_num_rows(): supplied argument is not a valid MySQL result resource
in /home/virtual/site18/fst/var/www/html/cyras/functions/sql_access.php on line 572
Datenbankfehler: You have an error in your SQL syntax. Check the manual that corresponds to your
MySQL server version for the right syntax to use near at line 1
Anweisung: SELECT page_id FROM sb4_public_documents WHERE id=-1
Datenbankfehler: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server
version for the right syntax to use near AND active = 1 at line 1
Anweisung: SELECT id FROM sb4_public_documents WHERE id = -1 AND active = 1
Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers. For demonstration ...
Server: http://www.xxx.de/public_main_modul.php?document_id=
File: public_main_modul.php
Para: ?document_id=
<html><head><body>
<title>DB MUENCHEN - Remote SQL Injection PoC</title>
<br><br>
<b>Version</b>
<iframe src=http://www.s-bahn-xxx.de/public_main_modul.php?document_id=[Blind SQL-Injection Vulnerability]
<br><br>
</body></head></html>
Pictures:
../sbahn_muenchen .png
Solution - Fix & Patch:
=======================
2011 - Quartal 1
Security Risk:
==============
The security risk of the remote sql injection vulnerability is estimated as critical.
Credits & Authors:
==================
Vulnerability Research Laboratory - N/A Anonymous
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory
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