{"answers":{"affected":"2 open source packages ship an affected version, including rap2hpoutre/laravel-log-viewer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8947 in the wild and no public exploit code.","fix":"Upgrade rap2hpoutre/laravel-log-viewer to 0.13.0 or later.","what":"CVE-2018-8947 is a high-severity path traversal vulnerability in n/a, published on 25 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-8947 and fix it if it is affected.\n\nWhat it is: CVE-2018-8947 is a high-severity path traversal vulnerability in n/a, published on 25 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-8947 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- rap2hpoutre/laravel-log-viewer (Packagist): affected all versions; fixed in 0.13.0\n- rap2hpoutre/laravel-log-viewer (Packagist): affected all versions; fixed in 0.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-8947/ (Markdown: https://insights.sbomify.com/CVE-2018-8947/index.md)","id":"CVE-2018-8947","markdown":"https://insights.sbomify.com/CVE-2018-8947/index.md","name":"CVE-2018-8947","record":{"aliases":["GHSA-63qj-p8gh-5xxx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Laravel Log Viewer","requires_auth":"none","summary":"Remote attackers can bypass access restrictions and read arbitrary files by exploiting weak Base64 encoding in log viewer requests.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"laravel_log_viewer","vendor":"laravel_log_viewer_project"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"description":"rap2hpoutre Laravel Log Viewer before v0.13.0 relies on Base64 encoding for l, dl, and del requests, which makes it easier for remote attackers to bypass intended access restrictions, as demonstrated by reading arbitrary files via a dl request.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2018-03-26","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-03-26","kind":"exploitdb","ref":"44343","stars":null,"title":"Laravel Log Viewer \u003c 0.13.0 - Local File Download"},{"date":"2021-10-29T15:12:35Z","kind":"github_poc","ref":"https://github.com/scopion/CVE-2018-8947","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Plaintext Storage of Sensitive Information in Laravel Log Viewer before v0.13.0","id":"CVE-2018-8947","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":2,"n_references":3,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-8948"},"packages":[{"ecosystem":"Packagist","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"rap2hpoutre/laravel-log-viewer","purl":null,"source":"GHSA-63qj-p8gh-5xxx"},{"ecosystem":"Packagist","fixed":["0.13.0"],"introduced":["0"],"last_affected":[],"package":"rap2hpoutre/laravel-log-viewer","purl":"pkg:composer/rap2hpoutre/laravel-log-viewer","source":"GHSA-63qj-p8gh-5xxx"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2018-8945"},"products":["n/a"],"published":"2018-03-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Remote attackers can bypass access restrictions and read arbitrary files by exploiting weak Base64 encoding in log viewer requests.","url":"https://insights.sbomify.com/CVE-2018-8947/"}