Security Resilience

CVE-2024-51493

Access Control in Octoprint ≤ 1.10.3

Published
05 November 2024
Modified
18 December 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0028 21th percentile
Risk Priority 41 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-51493 is a medium-severity Unverified Password Change (CWE-620) vulnerability in Octoprint. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Valid Accounts (T1078); ranked at the 21th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-14 (Permitted Actions Without Identification or Authentication) and IA-11 (Re-authentication) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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's OctoPrint browser session to retrieve/recreate/delete the user's…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1021.005 VNC Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1078.003 Local Accounts Stealth
Adversaries may obtain and abuse credentials of a local account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1098 Account Manipulation Persistence
Adversaries may manipulate accounts to maintain and/or elevate access to victim systems.
T1133 External Remote Services Persistence
Adversaries may leverage external-facing remote services to initially access and/or persist within a network.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-23637Same product: Octoprint Octoprint
CVE-2025-58180Same product: Octoprint Octoprint
CVE-2024-49377Same product: Octoprint Octoprint
CVE-2024-28237Same product: Octoprint Octoprint
CVE-2025-32788Same product: Octoprint Octoprint
CVE-2024-32977Same product: Octoprint Octoprint
CVE-2023-41047Same product: Octoprint Octoprint
CVE-2025-64187Same product: Octoprint Octoprint
CVE-2026-23892Same product: Octoprint Octoprint
CVE-2025-48879Same product: Octoprint Octoprint

Affected Assets

octoprint
octoprint
≤ 1.10.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 6 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.2.3
  • V6.4.4
  • V10.4.16
  • V12.1.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Directly mandates unique identification and authentication of users before access to functions requiring identity.

Extends the same authentication requirement to non-organizational users accessing critical functionality.

Requires authentication of services before they can invoke or expose critical functions.

Explicitly identifies and limits actions permitted without authentication, preventing critical functions from being exposed.

Re-authentication explicitly requires users to prove identity before performing sensitive actions such as password changes.

Authenticator management requires identity verification during password distribution and changes, directly stopping unverified password updates.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.AA-03 full match
blocks

Directly requires authentication of users/services/hardware, which eliminates missing authentication for critical functions.

PR.AA-01 mostly match
blocks

Credential management practices directly enforce re-authentication for password changes.

PR.AA-05 partial match
blocks

Defining and enforcing authorizations assumes prior authentication and therefore only partially mitigates the absence of authentication.

PR.IR-01 partial match
blocks

Protecting networks from unauthorized access can be undermined by missing authentication but does not address the root authentication gap.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

removes

A.8.5 mandates that authentication be in place to substantiate claimed identity when access to systems, applications and services is granted, and CWE-306 is the absence of authentication for critical functions; applying A.8.5 where it was not applied before requires adding authentication, so the weakness stops being present with no remainder, analogous to A.8.24 -> CWE-311 = full.

finds

A.8.29's SOURCE+RUNTIME reach covers CWE-620: code review sees whether the password-change handler verifies the old credential, and penetration testing directly exercises the flow by attempting to change another user's password without it. The remainder is bounded and nameable — implementations where the check lives in a third-party auth framework or is split across layers that obscure the missing verification, and test plans that do not specifically target the password-change flow.

removes

A.8.3 mandates authentication for access to information and associated assets (explicit in the dynamic access management section: 'requiring authentication, appropriate credentials or a certificate'), so implementing it where it was not applied before adds authentication to critical functions that lacked it, removing most CWE-306 instances; the remainder is nameable — secondary channels that bypass the primary authentication path, debug/UART ports, and protocol-level gaps in OT/embedded systems where access restriction is enforced at a different layer than the clause reaches.

prevents

A.5.17 governs the management of authentication information after it exists, not the design or implementation of the password-change mechanism that CWE-620 describes, so the weakness comes into existence independently of this clause.

finds

A.5.26 is a reactive incident-response procedure (containment, evidence collection, escalation, post-incident root-cause analysis); it does not perform code review, static analysis, dynamic testing, or vulnerability scanning, so it does not discover latent instances of CWE-306 in deployed code. Item (j) identifies weaknesses only after an incident has surfaced them, which is incident-driven discovery of a known event, not finding the weakness class.

prevents

Training developers about authentication best practices can prevent some instances of this code-level defect, but the weakness is a specific implementation choice that requires secure coding practice, code review, and testing to fully address; training is fallible and reaches only a minority of cases, consistent with the A.6.3 vs CWE-598 anchor.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

Oracle Linux 8 (2 partial rules)
  • V-248585 OL 8 must require reauthentication when using the "sudo" command. blocks CWE-306
  • V-248827 OL 8 must not have the rsh-server package installed. blocks CWE-306
RHEL 7 (1 rule, 1 more partial)
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. blocks CWE-306
  • V-237635 The Red Hat Enterprise Linux operating system must require re-authentication when using the "sudo" command. blocks CWE-306
RHEL 8 (1 rule, 1 more partial)
  • V-230492 RHEL 8 must not have the rsh-server package installed. blocks CWE-306
  • V-237643 RHEL 8 must require re-authentication when using the "sudo" command. blocks CWE-306

References