CVE-2024-39906 (GCVE-0-2024-39906)
Vulnerability from cvelistv5 – Published: 2024-07-19 19:50 – Updated: 2024-08-02 04:33
VLAI?
Title
Remote code execution in Haven IndieAuthClient (GHSL-2024-093)
Summary
A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Severity ?
8.4 (High)
CWE
- CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:havenweb:haven:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "haven",
"vendor": "havenweb",
"versions": [
{
"lessThan": "c52f07c",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-39906",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-07-22T14:16:19.011328Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-23T20:36:09.998Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-02T04:33:11.833Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f"
},
{
"name": "https://github.com/havenweb/haven/commit/c52f07c",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/havenweb/haven/commit/c52f07c"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "haven",
"vendor": "havenweb",
"versions": [
{
"status": "affected",
"version": "\u003c c52f07c"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.\n"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.4,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-74",
"description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-07-19T19:50:11.778Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f"
},
{
"name": "https://github.com/havenweb/haven/commit/c52f07c",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/havenweb/haven/commit/c52f07c"
}
],
"source": {
"advisory": "GHSA-65cm-7g24-hm9f",
"discovery": "UNKNOWN"
},
"title": "Remote code execution in Haven IndieAuthClient (GHSL-2024-093)"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-39906",
"datePublished": "2024-07-19T19:50:11.778Z",
"dateReserved": "2024-07-02T19:37:18.600Z",
"dateUpdated": "2024-08-02T04:33:11.833Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-39906",
"date": "2026-05-06",
"epss": "0.00922",
"percentile": "0.76077"
},
"fkie_nvd": {
"descriptions": "[{\"lang\": \"en\", \"value\": \"A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"}, {\"lang\": \"es\", \"value\": \"Se encontr\\u00f3 una vulnerabilidad de inyecci\\u00f3n de comandos en la funcionalidad IndieAuth de la aplicaci\\u00f3n web del blog Haven basada en Ruby on Rails. La funcionalidad afectada requiere autenticaci\\u00f3n, pero un atacante puede crear un enlace que puede pasar a un administrador del software del blog que haya iniciado sesi\\u00f3n. Esto conduce a la ejecuci\\u00f3n inmediata de los comandos proporcionados cuando el administrador autenticado accede al enlace. Este problema puede provocar la ejecuci\\u00f3n remota de c\\u00f3digo (RCE) y se solucion\\u00f3 mediante la confirmaci\\u00f3n `c52f07c`. Se recomienda a los usuarios que actualicen. No se conocen soluciones para esta vulnerabilidad.\"}]",
"id": "CVE-2024-39906",
"lastModified": "2024-11-21T09:28:32.470",
"metrics": "{\"cvssMetricV31\": [{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H\", \"baseScore\": 8.3, \"baseSeverity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"REQUIRED\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 1.6, \"impactScore\": 6.0}]}",
"published": "2024-07-19T20:15:07.887",
"references": "[{\"url\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"source\": \"security-advisories@github.com\"}, {\"url\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"source\": \"security-advisories@github.com\"}, {\"url\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
"sourceIdentifier": "security-advisories@github.com",
"vulnStatus": "Awaiting Analysis",
"weaknesses": "[{\"source\": \"security-advisories@github.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-74\"}]}]"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2024-39906\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2024-07-19T20:15:07.887\",\"lastModified\":\"2024-11-21T09:28:32.470\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"},{\"lang\":\"es\",\"value\":\"Se encontr\u00f3 una vulnerabilidad de inyecci\u00f3n de comandos en la funcionalidad IndieAuth de la aplicaci\u00f3n web del blog Haven basada en Ruby on Rails. La funcionalidad afectada requiere autenticaci\u00f3n, pero un atacante puede crear un enlace que puede pasar a un administrador del software del blog que haya iniciado sesi\u00f3n. Esto conduce a la ejecuci\u00f3n inmediata de los comandos proporcionados cuando el administrador autenticado accede al enlace. Este problema puede provocar la ejecuci\u00f3n remota de c\u00f3digo (RCE) y se solucion\u00f3 mediante la confirmaci\u00f3n `c52f07c`. Se recomienda a los usuarios que actualicen. No se conocen soluciones para esta vulnerabilidad.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H\",\"baseScore\":8.3,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.6,\"impactScore\":6.0}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-74\"}]}],\"references\":[{\"url\":\"https://github.com/havenweb/haven/commit/c52f07c\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/havenweb/haven/commit/c52f07c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"name\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"tags\": [\"x_refsource_CONFIRM\", \"x_transferred\"]}, {\"url\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"name\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"tags\": [\"x_refsource_MISC\", \"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T04:33:11.833Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-39906\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-07-22T14:16:19.011328Z\"}}}], \"affected\": [{\"cpes\": [\"cpe:2.3:a:havenweb:haven:*:*:*:*:*:*:*:*\"], \"vendor\": \"havenweb\", \"product\": \"haven\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"c52f07c\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-22T15:02:20.119Z\"}}], \"cna\": {\"title\": \"Remote code execution in Haven IndieAuthClient (GHSL-2024-093)\", \"source\": {\"advisory\": \"GHSA-65cm-7g24-hm9f\", \"discovery\": \"UNKNOWN\"}, \"metrics\": [{\"cvssV3_1\": {\"scope\": \"CHANGED\", \"version\": \"3.1\", \"baseScore\": 8.4, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"REQUIRED\", \"attackComplexity\": \"HIGH\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}], \"affected\": [{\"vendor\": \"havenweb\", \"product\": \"haven\", \"versions\": [{\"status\": \"affected\", \"version\": \"\u003c c52f07c\"}]}], \"references\": [{\"url\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"name\": \"https://github.com/havenweb/haven/security/advisories/GHSA-65cm-7g24-hm9f\", \"tags\": [\"x_refsource_CONFIRM\"]}, {\"url\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"name\": \"https://github.com/havenweb/haven/commit/c52f07c\", \"tags\": [\"x_refsource_MISC\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"A command injection vulnerability was found in the IndieAuth functionality of the Ruby on Rails based Haven blog web application. The affected functionality requires authentication, but an attacker can craft a link that they can pass to a logged in administrator of the blog software. This leads to the immediate execution of the provided commands when the link is accessed by the authenticated administrator. This issue may lead to Remote Code Execution (RCE) and has been addressed by commit `c52f07c`. Users are advised to upgrade. There are no known workarounds for this vulnerability.\\n\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-74\", \"description\": \"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2024-07-19T19:50:11.778Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2024-39906\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-08-02T04:33:11.833Z\", \"dateReserved\": \"2024-07-02T19:37:18.600Z\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"datePublished\": \"2024-07-19T19:50:11.778Z\", \"assignerShortName\": \"GitHub_M\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…