CyberSecBulletin
CVE-2023-40239NVD status: Modified

cs310: Improper Restriction of XML External Entity Reference

CVE-2023-40239 is a high-severity improper restriction of XML external entity reference vulnerability in cs310 from Lexmark, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 2023-08-25 as the first without the flaw, so updating cs310 to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.54% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update cs310 to 2023-08-25 or a later version.
  2. Read the advisory on publications.lexmark.com for workarounds and exact fixed builds.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Lexmarkcs310before 2023-08-252023-08-25
LexmarkC2132 Firmwarelw80.vy4.p245 and earlierNot stated
LexmarkCs310 Firmwarelw80.vyl.p245 and earlierNot stated
LexmarkCs317 Firmwarelw80.vyl.p245 and earlierNot stated
LexmarkCs410 Firmwarelw80.vy2.p245 and earlierNot stated
LexmarkCs417 Firmwarelw80.vy2.p245 and earlierNot stated
LexmarkCs510 Firmwarelw80.vy4.p245 and earlierNot stated
LexmarkCs517 Firmwarelw80.vy4.p245 and earlierNot stated
LexmarkCx310 Firmwarelw80.gm2.p245 and earlierNot stated
LexmarkCx317 Firmwarelw80.gm2.p245 and earlierNot stated
LexmarkCx410 Firmwarelw80.gm4.p245 and earlierNot stated
LexmarkCx417 Firmwarelw80.gm4.p245 and earlierNot stated
LexmarkCx510 Firmwarelw80.gm7.p245 and earlierNot stated
LexmarkCx517 Firmwarelw80.gm7.p245 and earlierNot stated
LexmarkM1140+ Firmwarelw80.pr2.p245 and earlier; lw80.prl.p245 and earlierNot stated
LexmarkM1145 Firmwarelw80.pr2.p245 and earlierNot stated
LexmarkM3150de Firmwarelw80.pr4.p245 and earlierNot stated
LexmarkM3150dn Firmwarelw80.pr2.p245 and earlierNot stated
LexmarkM5155 Firmwarelw80.dn4.p245 and earlierNot stated
LexmarkM5163de Firmwarelw80.dn4.p245 and earlierNot stated
LexmarkM5163dn Firmwarelw80.dn2.p245 and earlierNot stated
LexmarkM5170 Firmwarelw80.dn7.p245 and earlierNot stated
LexmarkMs310 Firmwarelw80.prl.p245 and earlierNot stated
LexmarkMs312 Firmwarelw80.prl.p245 and earlierNot stated
LexmarkMs315 Firmwarelw80.tl2.p245 and earlierNot stated

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.

Official description

Certain Lexmark devices (such as CS310) before 2023-08-25 allow XXE attacks, leading to information disclosure. The fixed firmware version is LW80.*.P246, i.e., '*' indicates that the full version specification varies across product model family, but firmware level P246 (or higher) is required to remediate the vulnerability.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Restriction of XML External Entity Reference

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

How developers prevent this class of flaw

  • Many XML parsers and validators can be configured to disable external entity expansion.

More Improper Restriction of XML External Entity Reference vulnerabilities (CWE-611)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in cs310

All cs310 vulnerabilities

Recent Improper Restriction of XML External Entity Reference vulnerabilities

Spotted an error? Tell us.