You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pen-test suggestion - loginuserpassorg.php returns a 200 response #2578
This is just a suggestion from our pen-testers, but they noted this:
In SimpleSAML2, sending POST requests to /idp/module.php/core/loginuserpassorg.php returns a 200 response with valid:false keys for authentication failure.
Because these are not 4xx or 5xx responses (and therefore triggering rate limiting), it may be possible to
brute-force this endpoint using known-good usernames.
The suggested solution is that a failure response returns a different code, such as a 403, so you can have an IPS look for that code for defensive purposes (e.g. rate limiting).
This isn't a major issue, just an opportunity for improvement from a security point of view. 🙂
Activity
tvdijen commentedon Dec 15, 2025
Thanks! But I don't understand what you mean with `valid: false keys'?
monkeyiq commentedon Dec 19, 2025
Isn't
./modules/core/www/loginuserpassorg.phponly in the 1.x series?