CWE
78
Advisory Published
Advisory Published
Updated

CVE-2018-20434: OS Command Injection

First published: Wed Apr 24 2019(Updated: )

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the `$_POST['community']` parameter to `html/pages/addhost.inc.php` during creation of a new device, and then making a `/ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php` command mishandling.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Librenms Librenms=1.46
composer/librenms/librenms=1.46

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-20434?

    CVE-2018-20434 is a vulnerability in LibreNMS 1.46 that allows remote attackers to execute arbitrary OS commands.

  • How does CVE-2018-20434 work?

    CVE-2018-20434 works by using the $_POST['community'] parameter to execute arbitrary OS commands during the creation of a new device in LibreNMS 1.46.

  • What is the severity of CVE-2018-20434?

    The severity of CVE-2018-20434 is critical with a CVSS score of 9.8.

  • How can I fix CVE-2018-20434?

    To fix CVE-2018-20434, you should upgrade to a version of LibreNMS that is not affected by this vulnerability.

  • Are there any references for CVE-2018-20434?

    Yes, you can find references for CVE-2018-20434 at the following links: http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html, http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html, and https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203