CVE-2021-38145: Form Tools - SQL Injection
- Cve: CVE-2021-38145
- Name: Form Tools - SQL Injection
- Description: An issue was discovered in Form Tools through 3.0.20. SQL Injection can occur via the export_group_id field when a low-privileged user (client) tries to export a form with data, e.g., manipulation of modules/export_manager/export.php?export_group_id=1&export_group_1_results=all&export_type_id=1.
- Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, data tampering, or full database compromise.
- Remediation: Update to version 3.0.21 or later to fix the vulnerability.
- Vulnerability type: sql_injection
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs to be a low-privileged user
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02152
- Epss percentile: 0.82617
- Assignee: [email protected]
- Published at: 2021-08-31T05:15:06Z
- Age in days: 1911
- Modified at: 2026-06-17T04:01:33Z
- Public exploits total: 2
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-38145
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bernardofsr.github.io/blog/2021/form-tools/ | nvd | 2021-08-31 |
| https://github.com/bernardofsr/CVEs-With-PoC/blob/main/PoCs/Form%20Tools/README.md | nvd | 2021-08-31 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.formtools.org/ | Product, Vendor Advisory |
| https://bernardofsr.github.io/blog/2021/form-tools/ | Exploit, Third Party Advisory |
| https://github.com/bernardofsr/CVEs-With-PoC/blob/main/PoCs/Form%20Tools/README.md | Exploit, Third Party Advisory |
| https://github.com/formtools/core/ | Product, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| formtools:core | <= 3.0.20 | no | nvd | /v1/products/formtools/core |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2021-08-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts