CWE
89
Advisory Published
Updated

CVE-2024-42361: GHSL-2023-256: HertzBeat Authenticated (guest role) SQL injection in /api/monitor/{monitorId}/metric/{metricFull}

First published: Tue Aug 20 2024(Updated: )

Hertzbeat is an open source, real-time monitoring system. Hertzbeat 1.6.0 and earlier declares a /api/monitor/{monitorId}/metric/{metricFull} endpoint to download job metrics. In the process, it executes a SQL query with user-controlled data, allowing for SQL injection.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Dromara Hertzbeat<1.6.0

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 the severity of CVE-2024-42361?

    CVE-2024-42361 is considered a critical vulnerability due to the potential for SQL injection attacks.

  • How do I fix CVE-2024-42361?

    To fix CVE-2024-42361, upgrade Hertzbeat to version 1.6.1 or later where the SQL injection vulnerability is addressed.

  • What impact does CVE-2024-42361 have on my system?

    CVE-2024-42361 allows attackers to execute arbitrary SQL commands, potentially leading to unauthorized data access or modification.

  • Which versions of Hertzbeat are affected by CVE-2024-42361?

    CVE-2024-42361 affects Hertzbeat versions 1.6.0 and earlier.

  • Can CVE-2024-42361 be exploited remotely?

    Yes, CVE-2024-42361 can be exploited remotely through the vulnerable API endpoint.

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