Search criteria
2 vulnerabilities by ossrs
CVE-2024-29882 (GCVE-0-2024-29882)
Vulnerability from cvelistv5 – Published: 2024-03-28 13:33 – Updated: 2024-08-21 22:48
VLAI?
Title
SRS DOM - XSS on JSONP callback
Summary
SRS is a simple, high-efficiency, real-time video server. SRS's `/api/v1/vhosts/vid-<id>?callback=<payload>` endpoint didn't filter the callback function name which led to injecting malicious javascript payloads and executing XSS ( Cross-Site Scripting). This vulnerability is fixed in 5.0.210 and 6.0.121.
Severity ?
7.2 (High)
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
| URL | Tags | |||||||
|---|---|---|---|---|---|---|---|---|
|
||||||||
Impacted products
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T01:17:57.982Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7"
},
{
"name": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"
}
],
"title": "CVE Program Container"
},
{
"affected": [
{
"cpes": [
"cpe:2.3:a:ossrs:simple_realtime_server:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "simple_realtime_server",
"vendor": "ossrs",
"versions": [
{
"lessThan": "5.0.210",
"status": "affected",
"version": "0",
"versionType": "custom"
},
{
"lessThan": "6.0.121",
"status": "affected",
"version": "6.0.0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-29882",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-03-28T19:14:27.345737Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-08-21T22:48:54.619Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "srs",
"vendor": "ossrs",
"versions": [
{
"status": "affected",
"version": "\u003c 5.0.210"
},
{
"status": "affected",
"version": "\u003e= 6.0.0, \u003c 6.0.121"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "SRS is a simple, high-efficiency, real-time video server. SRS\u0027s `/api/v1/vhosts/vid-\u003cid\u003e?callback=\u003cpayload\u003e` endpoint didn\u0027t filter the callback function name which led to injecting malicious javascript payloads and executing XSS ( Cross-Site Scripting). This vulnerability is fixed in 5.0.210 and 6.0.121."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-03-28T13:33:42.500Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/ossrs/srs/security/advisories/GHSA-gv9r-qcjc-5hj7"
},
{
"name": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/ossrs/srs/commit/244ce7bc013a0b805274a65132a2980680ba6b9d"
}
],
"source": {
"advisory": "GHSA-gv9r-qcjc-5hj7",
"discovery": "UNKNOWN"
},
"title": "SRS DOM - XSS on JSONP callback"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-29882",
"datePublished": "2024-03-28T13:33:42.500Z",
"dateReserved": "2024-03-21T15:12:08.997Z",
"dateUpdated": "2024-08-21T22:48:54.619Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2023-34105 (GCVE-0-2023-34105)
Vulnerability from cvelistv5 – Published: 2023-06-12 16:30 – Updated: 2025-01-03 23:24
VLAI?
Title
SRS has command injection vulnerability in demonstration api-server for HTTP callback.
Summary
SRS is a real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181. Prior to versions 5.0.157, 5.0-b1, and 6.0.48, SRS's `api-server` server is vulnerable to a drive-by command injection. An attacker may send a request to the `/api/v1/snapshots` endpoint containing any commands to be executed as part of the body of the POST request. This issue may lead to Remote Code Execution (RCE). Versions 5.0.157, 5.0-b1, and 6.0.48 contain a fix.
Severity ?
7.5 (High)
CWE
- CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Assigner
References
| URL | Tags | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||
Impacted products
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T16:01:53.905Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62"
},
{
"name": "https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338"
},
{
"name": "https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-34105",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-01-03T23:24:04.114062Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-01-03T23:24:17.844Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "srs",
"vendor": "ossrs",
"versions": [
{
"status": "affected",
"version": "\u003e= 5.0.137, \u003c 5.0.157"
},
{
"status": "affected",
"version": "\u003e= 6.0.18, \u003c 6.0.48"
},
{
"status": "affected",
"version": "\u003c 5.0-b1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "SRS is a real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181. Prior to versions 5.0.157, 5.0-b1, and 6.0.48, SRS\u0027s `api-server` server is vulnerable to a drive-by command injection. An attacker may send a request to the `/api/v1/snapshots` endpoint containing any commands to be executed as part of the body of the POST request. This issue may lead to Remote Code Execution (RCE). Versions 5.0.157, 5.0-b1, and 6.0.48 contain a fix."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-78",
"description": "CWE-78: Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-06-12T16:30:39.747Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/ossrs/srs/security/advisories/GHSA-vpr5-779c-cx62"
},
{
"name": "https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/ossrs/srs/commit/1d878c2daaf913ad01c6d0bc2f247116c8050338"
},
{
"name": "https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/ossrs/srs/blob/1d11d02e4b82fc3f37e4b048cff483b1581482c1/trunk/research/api-server/server.go#L761"
}
],
"source": {
"advisory": "GHSA-vpr5-779c-cx62",
"discovery": "UNKNOWN"
},
"title": "SRS has command injection vulnerability in demonstration api-server for HTTP callback."
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2023-34105",
"datePublished": "2023-06-12T16:30:39.747Z",
"dateReserved": "2023-05-25T21:56:51.246Z",
"dateUpdated": "2025-01-03T23:24:17.844Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}