Description
Janus WebRTC Server through 1.4.3 contains a path traversal vulnerability in the Record&Play plugin that allows unauthenticated attackers to write files outside recordings_path via the record request filename. Attackers can supply filenames with path separators to create or truncate files ending in -audio.mjr, -video.mjr or -data.mjr anywhere the Janus process can write outside protected folders.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| meetecho | janus-gateway | ≤ 1.4.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | janus | No fix yet | — |
| Debian 12 | janus | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | janus | No fix yet | — |
| Ubuntu 26.04 LTS | janus | No fix yet | — |
| Ubuntu 24.04 LTS | janus | No fix yet | — |
| Ubuntu 22.04 LTS | janus | No fix yet | — |
| Ubuntu 20.04 LTS | janus | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | janus | No fix yet | — |
References
- https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/HkEaF-piGl technical-description exploit
- https://github.com/meetecho/janus-gateway/blob/1f0b75cac1c9ad819ee4c2a905a2c65b00b82cde/src/plugins/janus_recordplay.c#L1965 technical-description
- https://github.com/meetecho/janus-gateway/blob/1f0b75cac1c9ad819ee4c2a905a2c65b00b82cde/src/record.c#L218 technical-description
- https://github.com/meetecho/janus-gateway product
- VulnCheck Advisory: Janus WebRTC Server through 1.4.3 Path Traversal via Record&Play Filename third-party-advisory