Skip to content

Stored XSS and arbitrary image read vulnerability

Moderate
gruberroland published GHSA-f2fr-cccr-583v Apr 15, 2022

Package

No package listed

Affected versions

< 7.9.1

Patched versions

7.9.1

Description

Vulnerabilities

Stored XSS - The profile editor tool has an edit profile functionality, the parameters on this page are not properly sanitized and hence leads to stored XSS attacks. An authenticated user can store XSS payloads in the profiles, which gets triggered when any other user try to access the edit profile page.

Arbitrary Image Read - The pdf editor tool has an edit pdf profile functionality, the logoFile parameter in it is not properly sanitized and an user can enter relative paths like ../../../../../../../../../../../../../usr/share/icons/hicolor/48x48/apps/gvim.png via tools like burpsuite. Later when a pdf is exported using the edited profile the pdf icon has the image on that path(if image is present).

For detailed information, see references.

Impact

Stored XSS vulnerability and arbitrary image reads.
The risk is mitigated by the fact that, both issues require an attacker to be able to login to LAM admin interface. Usually, this already requires administrative rights.

Patches

The issue is fixed in version 7.9.1.

Workarounds

  • Limit access to LAM admin interface to trusted users
  • Manually apply changes from 3c6f09a

References

#170

For more information

If you have any questions or comments about this advisory:

Severity

Moderate

CVE ID

CVE-2022-24851

Weaknesses

Credits