Description
lightNVR before 0.44.3 contains an authorization bypass vulnerability in go2rtc_proxy_authorize_request() that allows authenticated users to access restricted cameras by exploiting inconsistent src parameter parsing. Attackers can percent-encode a second src parameter name or exceed the 255-byte truncation so go2rtc resolves a different camera, obtaining unauthorized snapshots and HLS live streams.
Affected products and versions
opensensor lightNVR< 0.44.3Fixed in: 0.44.3
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- None
- Availability
- None
Weakness type (CWE)
- CWE-863 Incorrect Authorization
References
- github.com/opensensor/lightNVR/security/advisories/GHSA-pvw7-7j8c-qx96 vendor advisory
- github.com/opensensor/lightNVR/commit/507bce1c0715acad2012db7fdb5214738e68e43f patch
- github.com/opensensor/lightNVR/releases/tag/0.44.3
- github.com/opensensor/lightNVR/blob/0.44.2/src/web/api_handlers_go2rtc_proxy.c#L298-L315
- github.com/opensensor/lightNVR/blob/0.44.2/src/web/request_response.c#L131-L160
- www.vulncheck.com/advisories/lightnvr-before-0.44.3-authorization-bypass-via-go2rtc-proxy-
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.