Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

stripesframework/stripes
master @ 5c795d4
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
stripes/src/main/java/net/sourceforge/stripes/util/CryptoUtil.java: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Cryptography: Insecure ECB mode encryption paired with a weak custom hash check left the system highly vulnerable to padding oracle attacks and direct ciphertext manipulation. The fix transitioned the component to CBC mode utilizing an Encrypt-then-Mac (EtM) scheme with constant-time HMAC verification.
Auth Bypass: Unrestricted parameter binding allowed attackers to traverse arbitrary object graphs, exposing class loaders and servlet contexts. This could lead to remote code execution or complete authentication bypass. The fix introduced strict denylists/allowlists to block access to sensitive Class, ClassLoader, and context properties.