-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Similar to this: https://twitter.com/AlecMuffett/status/950699975767482370
Oh, this is glorious: pysaml2 library uses an
assertstatement to check & reject users who use the wrong password; however when running with the optimiser enabled, all assert statements are stripped… so: anyone can log into anything with any password.
In here: https://github.com/ceph/shaman/blob/master/shaman/auth.py#L12-L13
username, password = decoded.split(':')
assert username == conf.api_user
assert password == conf.api_keyReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels