Cyber Risks · Trail of Bits Blog

Security flaws in an SSO plugin for Caddy

Summary: Trail of Bits identified 10 security vulnerabilities in the caddy-security plugin for the Caddy web server, including high-severity reflected XSS and predictable randomness from a math/rand generator seeded on the Unix timestamp. The flaws could enable client-side code execution, OAuth replay attacks, and unauthorized resource access, and the findings were reported to the plugin maintainers before publication.

What's compelling: The plugin generates OAuth nonces, MFA secrets, and API keys with a timestamp-seeded math/rand, so an attacker who can brute-force that seed can replay OAuth flows and forge credentials for every application sitting behind the SSO layer.

Read the original at Trail of Bits Blog ↗

Topics
Data Breaches
Related