PYSEC-2024-202
Vulnerability from pysec - Published: 2024-11-05 19:15 - Updated: 2025-01-19 16:22OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.2 contain a vulnerability that allows an attacker that has gained temporary control over an authenticated victim's OctoPrint browser session to retrieve/recreate/delete the user's or - if the victim has admin permissions - the global API key without having to reauthenticate by re-entering the user account's password. An attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted. This vulnerability will be patched in version 1.10.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
| Name | purl | octoprint | pkg:pypi/octoprint |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "octoprint",
"purl": "pkg:pypi/octoprint"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.10.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.0",
"1.10.0rc1",
"1.10.0rc2",
"1.10.0rc3",
"1.10.0rc4",
"1.10.1",
"1.10.2",
"1.3.11",
"1.3.12",
"1.3.12rc1",
"1.3.12rc3",
"1.4.0",
"1.4.0rc1",
"1.4.0rc2",
"1.4.0rc3",
"1.4.0rc4",
"1.4.0rc5",
"1.4.0rc6",
"1.4.1",
"1.4.1rc1",
"1.4.1rc2",
"1.4.1rc3",
"1.4.1rc4",
"1.4.2",
"1.5.0",
"1.5.0rc1",
"1.5.0rc2",
"1.5.0rc3",
"1.5.1",
"1.5.2",
"1.5.3",
"1.6.0",
"1.6.0rc1",
"1.6.0rc2",
"1.6.0rc3",
"1.6.1",
"1.7.0",
"1.7.0rc1",
"1.7.0rc2",
"1.7.0rc3",
"1.7.1",
"1.7.2",
"1.7.3",
"1.8.0",
"1.8.0rc1",
"1.8.0rc2",
"1.8.0rc3",
"1.8.0rc4",
"1.8.0rc5",
"1.8.1",
"1.8.2",
"1.8.3",
"1.8.4",
"1.8.5",
"1.8.6",
"1.8.7",
"1.9.0",
"1.9.0rc1",
"1.9.0rc2",
"1.9.0rc3",
"1.9.0rc4",
"1.9.0rc5",
"1.9.0rc6",
"1.9.1",
"1.9.2",
"1.9.3"
]
}
],
"aliases": [
"CVE-2024-51493",
"GHSA-cc6x-8cc7-9953"
],
"details": "OctoPrint provides a web interface for controlling consumer 3D printers. OctoPrint versions up until and including 1.10.2 contain a vulnerability that allows an attacker that has gained temporary control over an authenticated victim\u0027s OctoPrint browser session to retrieve/recreate/delete the user\u0027s or - if the victim has admin permissions - the global API key without having to reauthenticate by re-entering the user account\u0027s password. An attacker could use a stolen API key to access OctoPrint through its API, or disrupt workflows depending on the API key they deleted. This vulnerability will be patched in version 1.10.3 and all users are advised to upgrade. There are no known workarounds for this vulnerability.",
"id": "PYSEC-2024-202",
"modified": "2025-01-19T16:22:59.212853+00:00",
"published": "2024-11-05T19:15:07+00:00",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/OctoPrint/OctoPrint/security/advisories/GHSA-cc6x-8cc7-9953"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
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.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.