patrickfuller camp up to and including commit bbd53a256ed70e79bd8758080936afbf6d738767 is vulnerable to Incorrect Access Control. Access to the password.txt file is not properly restricted as it is in the root directory served by StaticFileHandler and the Tornado rule to throw a 403 error when password.txt is accessed can be bypassed. Furthermore, it is not necessary to crack the password hash to authenticate with the application because the password hash is also used as the cookie secret, so an attacker can generate his own authentication cookie.
References
Link | Resource |
---|---|
https://github.com/ehtec/camp-exploit | Third Party Advisory |
https://github.com/patrickfuller/camp/commit/bf6af5c2e5cf713e4050c11c52dd4c55e89880b1 | Patch Third Party Advisory |
https://medium.com/@elias.hohl/authentication-bypass-vulnerability-in-camp-a-raspberry-pi-camera-server-477e5d270904 | Exploit Third Party Advisory |
Configurations
Information
Published : 2022-11-14 13:15
Updated : 2022-11-17 13:28
NVD link : CVE-2022-37109
Mitre link : CVE-2022-37109
JSON object : View
CWE
CWE-522
Insufficiently Protected Credentials
Products Affected
camp_project
- camp