CVE-2024-4326: Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui

Published May 16, 2024
·
Updated

A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The vulnerability stems from insufficient protection of the /applysettings and /executecode endpoints. Attackers can bypass protections by setting the host to localhost, enabling code execution, and disabling code validation through the /applysettings endpoint. Subsequently, arbitrary commands can be executed remotely via the /executecode endpoint, exploiting the delay in settings enforcement. This issue was addressed in version 9.5.

Affected Software

2 affected components
parisneo lollms-webui<9.5
lollms Lollms Web Ui<9.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade parisneo/lollms-webui to a version that resolves this vulnerability.

    Fixed in 9.5

Event History

May 16, 2024
CVE Published
via MITRE·09:03 AM
Data Sourced
via MITRE·09:03 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-4326?

CVE-2024-4326 is considered a high severity vulnerability allowing remote code execution.

2

How do I fix CVE-2024-4326?

To fix CVE-2024-4326, upgrade the lollms-webui to version 9.5 or later.

3

What are the affected versions of CVE-2024-4326?

CVE-2024-4326 affects parisneo/lollms-webui versions up to and including 9.3.

4

What endpoints are vulnerable in CVE-2024-4326?

CVE-2024-4326 exploits insufficient protection on the /apply_settings and /execute_code endpoints.

5

Can attackers exploit CVE-2024-4326 remotely?

Yes, CVE-2024-4326 allows remote attackers to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203