REDHAT-BUG-2531351: Medium severity Busybox Busybox vulnerability

Published Sep 10, 2026
·
Updated

A vulnerability exists in the BusyBox httpd applet's Basic Authentication password verification logic in networking/httpd.c. The code uses if (passwd[0] == '$' && isdigit(passwd[1])) to distinguish hashed passwords from plaintext. Yescrypt hashes begin with $y$, and because 'y' does not satisfy isdigit(), the detection logic fails. The code falls through to the plaintext strcmp branch, making the stored hash string itself the "password."

Supplying the literal hash string as the password results in HTTP 200, while the actual plaintext password is rejected with HTTP 401. Exploitation requires the attacker to first obtain the hash string from httpd.conf.

Affected Software

1 affected component
Busybox Busybox

Event History

Sep 10, 2026
Data Sourced
via Red Hat·09:48 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What does an attacker need to exploit this issue?

The attacker must obtain the Yescrypt hash string from httpd.conf. They can then submit that literal stored hash as the HTTP Basic Authentication password.

2

Are plaintext passwords accepted for affected Yescrypt-configured accounts?

No. For a password entry beginning with a Yescrypt hash, BusyBox httpd treats the hash as plaintext and compares it directly. The real plaintext password is rejected with HTTP 401, while the hash string is accepted and returns HTTP 200.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203