Advisory

GHSA-qmg5-v42x-qqhq

Also known as: CVE-2025-66507, GO-2025-4209

Summary

1Panel – CAPTCHA Bypass via Client-Controlled Flag

Details

Summary

A CAPTCHA bypass vulnerability in the 1Panel authentication API allows an unauthenticated attacker to disable CAPTCHA verification by abusing a client-controlled parameter. Because the server previously trusted this value without proper validation, CAPTCHA protections could be bypassed, enabling automated login attempts and significantly increasing the risk of account takeover (ATO).

Details

The /api/login endpoint accepts a boolean field named ignoreCaptcha directly from the client request body:

"ignoreCaptcha": true

The backend implementation uses this value to determine whether CAPTCHA validation should be performed:

if !req.IgnoreCaptcha {
    if errMsg := captcha.VerifyCode(req.CaptchaID, req.Captcha); errMsg != "" {
        helper.BadAuth(c, errMsg, nil)
        return
    }
}

Because req.IgnoreCaptcha is taken directly from user input—with no server-side validation, no session binding, and no privilege checks—any unauthenticated attacker can force CAPTCHA validation to be skipped.

There are no additional conditions, such as:

no requirement for MFA

no trusted device

no IP reputation checks

no prior valid session

no rate limiting

This results in CAPTCHA being entirely client-controlled, which violates fundamental authentication and anti-automation security assumptions.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-12-08 17:56 UTC
Modified
2025-12-15 19:56 UTC

Affected packages and fixes

github.com/1Panel-dev/1Panel

Go · All systems

Affected

  • introduced 0, fixed 2.0.14 (semver)

Fixed versions

2.0.14

Fix

github.com/1Panel-dev/1Panel/core

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20251128030527-ac43f00273be (semver)

Fixed versions

0.0.0-20251128030527-ac43f00273be

Fix

  • Fixed version 0.0.0-20251128030527-ac43f00273be
    go get github.com/1Panel-dev/1Panel/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences