Title: ====== Swedish Army Web Database - SQL Injection Vulnerability Date: ===== 2012-04-01 References: =========== http://www.vulnerability-lab.com/get_content.php?id=472 VL-ID: ===== 472 Introduction: ============= The Swedish Armed Forces (Swedish: Försvarsmakten) is a Swedish Government Agency (Swedish: Myndighet) responsible for the operation of the armed forces of the Realm. The primary task of the agency is to train, organize and to deploy military forces, domestically and abroad, while maintaining the long-term ability to defend the Realm in the event of war. The Supreme Commander (Swedish: Överbefälhavaren), a four-star general or flag officer is also the head of said agency, and he is the highest ranking professional officer on active duty. The Supreme Commander in turn reports through the Minister for Defence to the Government of Sweden (Swedish: Regeringen). There are three service branches: the Army (Swedish: Armén), the Air Force (Swedish: Flygvapnet) and the Navy (Swedish: Marinen), all of whom are since 1994 part of the same agency. Sweden s military forces was for over a century built upon the concepts of conscription and territorial defence, supporting the longstanding national policy of non-alignment. Until the end of the Cold War nearly all men reaching the age of military service were conscripted. In summer 2010 peacetime conscription ceased, to be replaced with contracted personnel altogether. The transfer to the new system will be fully completed in 2018. Units from the Swedish Armed Forces are currently on deployment in Afghanistan (ISAF) and Kosovo. Moreover, Sweden contributes with military observers in various countries and serve as the lead nation for an EU Battle Group approximately once every three years. (Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/Swedish_Armed_Forces Abstract: ========= A Vulnerability Laboratory Researcher discovered critical Blind SQL Injection Vulnerability on the official website of the Swedish Army (Mil). Report-Timeline: ================ 2012-03-08: Vendor Notification 2012-03-12: Vendor Response/Feedback 2012-03-31: Vendor Fix/Patch by VL Check 2012-04-01: Public or Non-Public Disclosure Status: ======== Published Exploitation-Technique: ======================= Remote Severity: ========= High Details: ======== A remote SQL Injection vulnerability is detected on the official Web-Server of the Swedish Army. The vulnerability allows an attacker (remote) to inject/execute own sql commands on the affected military application dbms. Successful exploitation of the vulnerability results in dbms & application compromise. Vulnerable Module(s): [+] Kalender - ID Picture(s): ../1.png ../2.png ../3.png Proof of Concept: ================= The vulnerability can be exploited by remote attacker without user inter action. For demonstration or reproduce ... http://www.forsvarsmakten.se/sv/Aktuellt/Ovningar/#kalender?id=[BLIND SQL-INJECTION!] Solution: ========= The vulnerability can be patched/fixed by parsing the vulnerable kalender id url value request. 2012-03-31: Vendor Fix/Patch by VL Check Risk: ===== The security risk of the remote sql injection vulnerability is estimated as high(+). Credits: ======== Vulnerability Research Laboratory - N/A Anonymous Disclaimer: =========== 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. Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability- Lab. 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 or its suppliers. Copyright © 2012|Vulnerability-Lab -- VULNERABILITY RESEARCH LABORATORY TEAM Website: www.vulnerability-lab.com Mail: research@vulnerability-lab.com