Document Title: =============== JORJWEB Ltda (all versions) - SQL Injection Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1212 Release Date: ============= 2014-02-21 Vulnerability Laboratory ID (VL-ID): ==================================== 1212 Common Vulnerability Scoring System: ==================================== 8.4 Product & Service Introduction: =============================== JORJWEB Ltda is a company governed by the ethical and legal principles, seeking to contribute to the development of technologically community Solidario, Commercial and Financial Sector, not only to make available art tools but providing the advice needed to proper selection and successful implementation. ( Copy of the Vendor Homepage: http://www.jorjweb.com/index.php/empresa ) Abstract Advisory Information: ============================== An independent laboratory researcher (UmPire - repo ker) discovered a critical remote web vulnerability in the official JorJWeb Ltda web-application. Vulnerability Disclosure Timeline: ================================== 2014-02-21: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Jorjweb Ltda Product: Jorjweb - Web Application (Content Managemtn System) (all versions) Exploitation Technique: ======================= Remote Severity Level: =============== Critical Technical Details & Description: ================================ A remote sql injection web vulnerability has been discovered in the official JorJWeb Ltda (cms) web-application. The vulnerability allows remote attackers to inject and execute own sql commands to compromise the web-application or dbms. The vulnerability is located in the `../ajedrez47/Paginas/` module with the vulnerable `info_torneo.php` file. Remote attackers are able to inject and execute own sql commands by usage of the vulnerable `id` parameter. The issue is a classic order by remote sql injection and the request method to exploit the issue is GET. The security risk of the remote sql injection web vulnerability is estimated as critical with a cvss (common vulnerability scoring system) count of 8.4(+). Exploitation of the sql injection web vulnerability requires no privileged web application user account and also no user interaction. Successful exploitation of the remote sql injection vulnerability results in web application (website) compromise, account system compromise or dbms compromise. Vulnerable Module(s): [+] ./ajedrez47/Paginas/ Vulnerable File(s): [+] info_torneo.php Vulnerable Parameter(s): [+] id Proof of Concept (PoC): ======================= The rmeote sql injection web vulnerability can be exploited by remote attackers without privileged application user account and also without user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. Google Dork: intext:Powered by JORJWEB Ltda inurl:ajedrez47/Paginas/info_torneo.php?id= PoC: http://jorjweb.localhost:8080/ajedrez47/Paginas/info_torneo.php?id=[REMOTE SQL-INJECTION WEB VULNERABILITY!]-- Demo Urls: http://jorjweb.localhost:8080/ajedrez47/Paginas/info_torneo.php?id='[REMOTE SQL-INJECTION WEB VULNERABILITY!]-- http://jorjweb.localhost:8080/ajedrez47/Paginas/info_torneo.php?id=3852'[REMOTE SQL-INJECTION WEB VULNERABILITY!]-- Solution - Fix & Patch: ======================= The vulnerability can be patched by a secure encode and statement correction in the vulnerable id value of the spanish web-application. Security Risk: ============== The security risk of the remote sql injection web vulnerability is estimated as critical. Credits & Authors: ================== UmPire from Iran Security Group (I.S.G) [repo ker] Thanks to:: Root.Smasher|Black V!per|Mr.Moein|UmPire|Sultan Brain|Alireza_Promis M4hdi|Social Engineer|TaK.FaNaR|AmiR_RagbaR|Ali.f4R|hack3core|Mr.Mehdi 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.evolution-sec.com Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: www.vulnerability-lab.com/dev - forum.vulnerability-db.com - magazine.vulnerability-db.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, source code, 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 research@vulnerability-lab.com) to get a permission. Copyright © 2014 | Vulnerability Laboratory [Evolution Security] -- VULNERABILITY LABORATORY RESEARCH TEAM DOMAIN: www.vulnerability-lab.com CONTACT: research@vulnerability-lab.com