{"id":"CVE-2024-42361","published":"2024-08-20T20:56:20Z","modified":"2024-09-03T14:54:10Z","title":"GHSL-2023-256: HertzBeat Authenticated (guest role) SQL injection in /api/monitor/{monitorId}/metric/{metricFull}","vendor":"Apache","product":"HertzBeat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0174,"percentile":0.78152,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2023-254_GHSL-2023-256_HertzBeat/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/manager/src/main/java/org/dromara/hertzbeat/manager/controller/MonitorsController.java#L202","tags":["x_refsource_MISC"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryTdEngineDataStorage.java#L242","tags":["x_refsource_MISC"]},{"url":"https://github.com/dromara/hertzbeat/blob/1f12ac9f2a1a3d86b1d476775e14174243b250a8/warehouse/src/main/java/org/dromara/hertzbeat/warehouse/store/HistoryTdEngineDataStorage.java#L295","tags":["x_refsource_MISC"]}],"priority":{"score":20.9,"factors":[{"name":"EPSS percentile","points":15.63},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache","product":"HertzBeat","versions":["<= 1.6.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-21T13:54:29.935082Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-39570","exploited":false,"provenance":"source"}}