CVE-2013-0340 XML external entity in apple:ipados

Medium 6.8 Published Updated

Remote attackers can cause denial of service, access intranet servers, or read arbitrary files via crafted XML documents in the expat library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-0340?

CVE-2013-0340 is a medium-severity vulnerability in Apple Ipados, published on 21 Jan 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.

Weakness: CWE-611

Which versions are affected by CVE-2013-0340?

It affects 7 products.

Linux distribution packages (6)
expat-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1
expat-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1
expat-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1
expat Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1
expat-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1
expat-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Tvos, Apple Watchos, Libexpat Project Libexpat and 1 more.

How do I fix CVE-2013-0340?

Upgrade to a fixed version.

Is CVE-2013-0340 being exploited?

There is no known exploitation of CVE-2013-0340 in the wild and no public exploit code.

All Apple Ipados vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-0340, GHSA-w3v2-46wf-pq33, OESA-2021-1261, PSF-2014-1, RHBA-2022:8290.

Is CVE-2013-0340 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free