Skip to content
Business logic Disclosed report Beginner CVE-2022-2822

OctoPrint does not have rate limiting on the login page

The login page of OctoPrint 1.7.3 and earlier lacked rate limiting, allowing attackers to attempt brute force attacks. The severity is limited because OctoPrint normally runs in a restricted LAN.

octoprint/octoprint

Originally disclosed on huntr

OctoPrint 1.7.3 and prior does not have rate limiting on the login page, making it possible for attackers to attempt brute force attacks. The severity of this issue is limited by OctoPrint normally running in a restricted LAN. The devel and maintenance branches of the repository have a fix that limits the rate of failed login attempts.

From the GitHub Advisory Database (GHSA-5w5x-q9p5-9qg3, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the login endpoint did not track or limit repeated failed authentication attempts.

Impact

Attackers could attempt brute force attacks, but the severity is limited because OctoPrint normally runs in a restricted LAN.

What the attacker needed

OctoPrint 1.7.3 or prior; access to the login page

The fix

The devel and maintenance branches have a fix that limits the rate of failed login attempts.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A login page without rate limiting lets someone try many username and password combinations quickly, which is called a brute force attack. OctoPrint is software for controlling 3D printers, and it usually runs only on a local network, so the risk is lower.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from octoprint/octoprint

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.