Skip to content

lollms path traversal vulnerability allows overriding of config.yaml file, leading to RCE

High severity GitHub Reviewed Published Jun 27, 2024 to the GitHub Advisory Database • Updated Jun 28, 2024

Package

pip lollms (pip)

Affected versions

< 9.5.0

Patched versions

9.5.0

Description

A path traversal vulnerability in the /set_personality_config endpoint of parisneo/lollms version 9.4.0 allows an attacker to overwrite the configs/config.yaml file. This can lead to remote code execution by changing server configuration properties such as force_accept_remote_access and turn_on_code_validation.

References

Published by the National Vulnerability Database Jun 27, 2024
Published to the GitHub Advisory Database Jun 27, 2024
Reviewed Jun 28, 2024
Last updated Jun 28, 2024

Severity

High
7.4
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2024-5824

GHSA ID

GHSA-m45c-v46h-c788

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.