Quantum Secular Labs / Blog / Advisories
CVE-2017-5878: Red5 Media Server: Insecure deserialization
CVE-2017-5878 is rated critical with a CVSS v3.1 base score of 9.8 and affects Red5 Media Server. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
The AMF unmarshallers in Red5 Media Server before 1.0.8 do not restrict the classes for which it performs deserialization, which allows remote attackers to execute arbitrary code via crafted serialized Java data.
Severity breakdown
CVSS v3.1 9.8: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-502: Deserialization of Untrusted Data
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
Affected products
- Red5 Media Server: 1.0.2; 1.0.2 milestone1; 1.0.3; 1.0.4; 1.0.5; 1.0.6; 1.0.7; 1.0.7 milestone1; 1.0.7 milestone2; 1.0.7 milestone3; 1.0.7 milestone4; 1.0.7 milestone5