gsd-2018-20434
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2018-20434",
"description": "LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST[\u0027community\u0027] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture\u0026format=text\u0026type=snmpwalk\u0026hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.",
"id": "GSD-2018-20434",
"references": [
"https://packetstormsecurity.com/files/cve/CVE-2018-20434"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2018-20434"
],
"details": "LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST[\u0027community\u0027] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture\u0026format=text\u0026type=snmpwalk\u0026hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.",
"id": "GSD-2018-20434",
"modified": "2023-12-13T01:22:28.811729Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2018-20434",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST[\u0027community\u0027] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture\u0026format=text\u0026type=snmpwalk\u0026hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d",
"refsource": "MISC",
"url": "https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"
},
{
"name": "https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing",
"refsource": "MISC",
"url": "https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"
},
{
"name": "https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/",
"refsource": "MISC",
"url": "https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"
},
{
"name": "http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html",
"refsource": "MISC",
"url": "http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html"
},
{
"name": "http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html",
"refsource": "MISC",
"url": "http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "=1.46",
"affected_versions": "Version 1.46",
"cvss_v2": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-78",
"CWE-937"
],
"date": "2019-06-04",
"description": "LibreNMS allows remote attackers to execute arbitrary OS commands by using the `community` parameter to `html/pages/addhost.inc.php` during creation of a new device, and then making a `/ajax_output.php?id`=capture\u0026format=text\u0026type=snmpwalk\u0026hostname=localhost` request that triggers `html/includes/output/capture.inc.php` command mishandling.",
"fixed_versions": [
"1.47"
],
"identifier": "CVE-2018-20434",
"identifiers": [
"CVE-2018-20434"
],
"not_impacted": "All versions before 1.46, all versions after 1.46",
"package_slug": "packagist/librenms/librenms",
"pubdate": "2019-04-24",
"solution": "Upgrade to version 1.47 or above.",
"title": "OS Command Injection",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2018-20434"
],
"uuid": "76ada193-7430-4fea-b1f3-f6eca7436aec"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:librenms:librenms:1.46:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2018-20434"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST[\u0027community\u0027] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture\u0026format=text\u0026type=snmpwalk\u0026hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-78"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/",
"refsource": "MISC",
"tags": [
"Exploit",
"Technical Description",
"Third Party Advisory"
],
"url": "https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/"
},
{
"name": "https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d"
},
{
"name": "https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing",
"refsource": "MISC",
"tags": [
"Permissions Required",
"Third Party Advisory"
],
"url": "https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing"
},
{
"name": "http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html",
"refsource": "MISC",
"tags": [],
"url": "http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html"
},
{
"name": "http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html",
"refsource": "MISC",
"tags": [],
"url": "http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 10.0,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2019-06-04T23:29Z",
"publishedDate": "2019-04-24T21:29Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…