cve-2024-39915
Vulnerability from cvelistv5
Published
2024-07-15 19:33
Modified
2024-08-02 04:33
Severity ?
EPSS score ?
Summary
Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter during PDF report generation. The Thruk web application does not properly process the url parameter when generating a PDF report. An authorized attacker with access to the reporting functionality could inject arbitrary commands that would be executed when the script /script/html2pdf.sh is called. The vulnerability can be exploited by an authorized user with network access. This issue has been addressed in version 3.16. Users are advised to upgrade. There are no known workarounds for this vulnerability.
References
{ "containers": { "adp": [ { "affected": [ { "cpes": [ "cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:*" ], "defaultStatus": "unknown", "product": "thruk", "vendor": "thruk", "versions": [ { "lessThan": "3.16", "status": "affected", "version": "0", "versionType": "custom" } ] } ], "metrics": [ { "other": { "content": { "id": "CVE-2024-39915", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "timestamp": "2024-07-16T17:45:16.196494Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2024-07-16T17:46:13.046Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" }, { "providerMetadata": { "dateUpdated": "2024-08-02T04:33:11.070Z", "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE" }, "references": [ { "name": "https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f", "tags": [ "x_refsource_CONFIRM", "x_transferred" ], "url": "https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f" }, { "name": "https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b", "tags": [ "x_refsource_MISC", "x_transferred" ], "url": "https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b" } ], "title": "CVE Program Container" } ], "cna": { "affected": [ { "product": "Thruk", "vendor": "sni", "versions": [ { "status": "affected", "version": "\u003c 3.16" } ] } ], "descriptions": [ { "lang": "en", "value": "Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter during PDF report generation. The Thruk web application does not properly process the url parameter when generating a PDF report. An authorized attacker with access to the reporting functionality could inject arbitrary commands that would be executed when the script /script/html2pdf.sh is called. The vulnerability can be exploited by an authorized user with network access. This issue has been addressed in version 3.16. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n" } ], "metrics": [ { "cvssV3_1": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 10, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-94", "description": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2024-07-15T19:33:13.649Z", "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "shortName": "GitHub_M" }, "references": [ { "name": "https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f", "tags": [ "x_refsource_CONFIRM" ], "url": "https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f" }, { "name": "https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b", "tags": [ "x_refsource_MISC" ], "url": "https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b" } ], "source": { "advisory": "GHSA-r7gx-h738-4w6f", "discovery": "UNKNOWN" }, "title": "Authenticated remote code execution in Thruk" } }, "cveMetadata": { "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "assignerShortName": "GitHub_M", "cveId": "CVE-2024-39915", "datePublished": "2024-07-15T19:33:13.649Z", "dateReserved": "2024-07-02T19:37:18.602Z", "dateUpdated": "2024-08-02T04:33:11.070Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2024-39915\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-07-15T20:15:03.933\",\"lastModified\":\"2024-11-21T09:28:33.480\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter during PDF report generation. The Thruk web application does not properly process the url parameter when generating a PDF report. An authorized attacker with access to the reporting functionality could inject arbitrary commands that would be executed when the script /script/html2pdf.sh is called. The vulnerability can be exploited by an authorized user with network access. This issue has been addressed in version 3.16. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"},{\"lang\":\"es\",\"value\":\"Thruk es una interfaz web de monitoreo multibackend para Naemon, Nagios, Icinga y Shinken que utiliza la API Livestatus. Este RCE autenticado en Thruk permite a los usuarios autorizados con acceso a la red inyectar comandos arbitrarios a trav\u00e9s del par\u00e1metro URL durante la generaci\u00f3n de informes PDF. La aplicaci\u00f3n web Thruk no procesa correctamente el par\u00e1metro de URL al generar un informe en PDF. Un atacante autorizado con acceso a la funcionalidad de informes podr\u00eda inyectar comandos arbitrarios que se ejecutar\u00edan cuando se llame al script /script/html2pdf.sh. La vulnerabilidad puede ser explotada por un usuario autorizado con acceso a la red. Este problema se solucion\u00f3 en la versi\u00f3n 3.16. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":9.9,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.1,\"impactScore\":6.0}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]}],\"references\":[{\"url\":\"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\", \"name\": \"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\", \"name\": \"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:33:11.070Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-39915\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-07-16T17:45:16.196494Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:thruk:thruk:*:*:*:*:*:*:*:*\"], \"vendor\": \"thruk\", \"product\": \"thruk\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"3.16\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-16T17:46:06.384Z\"}}], \"cna\": {\"title\": \"Authenticated remote code execution in Thruk\", \"source\": {\"advisory\": \"GHSA-r7gx-h738-4w6f\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 10, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"sni\", \"product\": \"Thruk\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c 3.16\"}]}], \"references\": [{\"url\": \"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\", \"name\": \"https://github.com/sni/Thruk/security/advisories/GHSA-r7gx-h738-4w6f\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\", \"name\": \"https://github.com/sni/Thruk/commit/7e7eb251e76718a07639c4781f0d959d817f173b\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API. This authenticated RCE in Thruk allows authorized users with network access to inject arbitrary commands via the URL parameter during PDF report generation. The Thruk web application does not properly process the url parameter when generating a PDF report. An authorized attacker with access to the reporting functionality could inject arbitrary commands that would be executed when the script /script/html2pdf.sh is called. The vulnerability can be exploited by an authorized user with network access. This issue has been addressed in version 3.16. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-94\", \"description\": \"CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-07-15T19:33:13.649Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2024-39915\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T04:33:11.070Z\", \"dateReserved\": \"2024-07-02T19:37:18.602Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-07-15T19:33:13.649Z\", \"assignerShortName\": \"GitHub_M\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.