Quantum Secular Labs / Blog / Advisories

CVE-2018-1000835: Keepass Dx: Server-side request forgery

CVE-2018-1000835 is rated critical with a CVSS v3.1 base score of 10.0 and affects Keepass Dx. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.

Vulnerability description

KeePassDX version <= 2.5.0.0beta17 contains a XML External Entity (XXE) vulnerability in kdbx file parser that can result in Disclosure of confidential data, denial of service, SSRF, port scanning.

Severity breakdown

CVSS v3.1 10.0: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Changed. Impact reaches beyond the vulnerable component to other resources.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: High. Total loss of availability; the component can be shut down.

Underlying weakness

CWE-611: 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.

Affected products

  • Keepass Dx: 2.5.0.0 beta1; 2.5.0.0 beta10; 2.5.0.0 beta11; 2.5.0.0 beta12; 2.5.0.0 beta13; 2.5.0.0 beta14; 2.5.0.0 beta15; 2.5.0.0 beta16; 2.5.0.0 beta17; 2.5.0.0 beta2; 2.5.0.0 beta3; 2.5.0.0 beta4

References