Document Title: =============== China Ministry of Commerce - SQL Injection Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=321 Release Date: ============= 2012-04-30 Vulnerability Laboratory ID (VL-ID): ==================================== 321 Common Vulnerability Scoring System: ==================================== 8.3 Product & Service Introduction: =============================== The Ministry of Commerce (MOFCOM; Chinese: 商务部 Pinyin: shāngwù bù) of the People s Republic of China , formerly Ministry of Foreign Trade and Economic Co-operation (对外贸易经济合作部, MOFTEC) is an executive agency of the State Council of China. It is responsible for formulating policy on foreign trade, export and import regulations, foreign direct investments, consumer protection, market competition and negotiating bilateral and multilateral trade agreements. The current Commerce minister is Chen Deming. (Copy of the Vendor Homepage: http://en.wikipedia.org/wiki/Ministry_of_Commerce_of_the_People s_Republic_of_China ) Abstract Advisory Information: ============================== The vulnerability-lab researcher discovered an SQL Injection vulnerability on the Chinese Ministry of Commerce website. Vulnerability Disclosure Timeline: ================================== 2011-11-11: Vendor Notification 2012-02-12: Vendor Response/Feedback 2011-04-30: Vendor Fix/Patch by Check 2011-05-01: Public or Non-Public Disclosure Discovery Status: ================= Published Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ A SQL Injection vulnerability is detected on the Chinese Ministry of Commerce website. Remote Attackers & low privileged user accounts can execute own sql commands via injection. Successful exploitation can result in dbms (Server) or application (Web) compromise. Vulnerable Module(s): [+] ssl_login.php Vulnerable Para(s): [+] F_email , F_password Proof of Concept (PoC): ======================= The SQL Injection vulnerabilities can be exploited by remote attackers (pre-auth) or local low privileged user accounts. For demonstration or reproduce ... [*] SQL Injection via POST METHOD Site: mofcom.gov.cn/ssl_login.php Path: / File: ssl_login.php Para: F_email & F_password Picture(s): ../1.jpg Solution - Fix & Patch: ======================= CLOSED BY COORDINATION OF CHINA NATIONAL VULNERABILITY DATABASE FOR INFORMATION SECURITY (CNNVD PARTNERS). Security Risk: ============== The security risk of the pre-auth SQL injection vulnerability is estimated as critical. Credits & Authors: ================== Vulnerability Laboratory [Research Team] - Chokri Ben Achor (meister@vulnerability-lab.com) 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