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.
High severity with no evidence of exploitation so far.
What to do
- Update cs310 to 2023-08-25 or a later version.
- Read the advisory on publications.lexmark.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Lexmark | cs310 | before 2023-08-25 | 2023-08-25 |
| Lexmark | C2132 Firmware | lw80.vy4.p245 and earlier | Not stated |
| Lexmark | Cs310 Firmware | lw80.vyl.p245 and earlier | Not stated |
| Lexmark | Cs317 Firmware | lw80.vyl.p245 and earlier | Not stated |
| Lexmark | Cs410 Firmware | lw80.vy2.p245 and earlier | Not stated |
| Lexmark | Cs417 Firmware | lw80.vy2.p245 and earlier | Not stated |
| Lexmark | Cs510 Firmware | lw80.vy4.p245 and earlier | Not stated |
| Lexmark | Cs517 Firmware | lw80.vy4.p245 and earlier | Not stated |
| Lexmark | Cx310 Firmware | lw80.gm2.p245 and earlier | Not stated |
| Lexmark | Cx317 Firmware | lw80.gm2.p245 and earlier | Not stated |
| Lexmark | Cx410 Firmware | lw80.gm4.p245 and earlier | Not stated |
| Lexmark | Cx417 Firmware | lw80.gm4.p245 and earlier | Not stated |
| Lexmark | Cx510 Firmware | lw80.gm7.p245 and earlier | Not stated |
| Lexmark | Cx517 Firmware | lw80.gm7.p245 and earlier | Not stated |
| Lexmark | M1140+ Firmware | lw80.pr2.p245 and earlier; lw80.prl.p245 and earlier | Not stated |
| Lexmark | M1145 Firmware | lw80.pr2.p245 and earlier | Not stated |
| Lexmark | M3150de Firmware | lw80.pr4.p245 and earlier | Not stated |
| Lexmark | M3150dn Firmware | lw80.pr2.p245 and earlier | Not stated |
| Lexmark | M5155 Firmware | lw80.dn4.p245 and earlier | Not stated |
| Lexmark | M5163de Firmware | lw80.dn4.p245 and earlier | Not stated |
| Lexmark | M5163dn Firmware | lw80.dn2.p245 and earlier | Not stated |
| Lexmark | M5170 Firmware | lw80.dn7.p245 and earlier | Not stated |
| Lexmark | Ms310 Firmware | lw80.prl.p245 and earlier | Not stated |
| Lexmark | Ms312 Firmware | lw80.prl.p245 and earlier | Not stated |
| Lexmark | Ms315 Firmware | lw80.tl2.p245 and earlier | Not 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
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in cs310
- 9.1 Critical severity
- 9.0 Critical severity
- 9.0 Critical severity
- 9.0 Critical severity
Recent Improper Restriction of XML External Entity Reference vulnerabilities
- 9.8 Critical severity
- 9.8 Critical severity
- 7.5 High severity
- 8.8 High severity
- 9.1 Critical severity
- 10.0 Critical severity
Spotted an error? Tell us.