{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-5148 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2007-5148 yet. Limit exposure of the affected software until one is available.","what":"CVE-2007-5148 is a medium-severity code injection vulnerability in n/a, published on 1 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2007-5148 and fix it if it is affected.\n\nWhat it is: CVE-2007-5148 is a medium-severity code injection vulnerability in n/a, published on 1 Oct 2007. 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-2007-5148 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2007-5148/ (Markdown: https://insights.sbomify.com/CVE-2007-5148/index.md)","id":"CVE-2007-5148","markdown":"https://insights.sbomify.com/CVE-2007-5148/index.md","name":"CVE-2007-5148","record":{"aliases":["GHSA-rvpr-2mjf-wch6"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FrontAccounting web app","requires_auth":"none","summary":"Remote attackers can execute arbitrary PHP code via URL injection in FrontAccounting, though the vulnerability is disputed by CVE.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"frontaccounting","vendor":"frontaccounting"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Multiple PHP remote file inclusion vulnerabilities in FrontAccounting (FA) 1.12 allow remote attackers to execute arbitrary PHP code via a URL in the path_to_root parameter to (1) access/logout.php or certain PHP scripts under (2) admin/, (3) dimensions/, (4) gl/, (5) inventory/, (6) manufacturing/, (7) purchasing/, (8) reporting/, (9) sales/, or (10) taxes/.  NOTE: the config.php vector is already covered by CVE-2007-4279, and the login.php and language.php vectors are already covered by CVE-2007-5117.  NOTE: this issue is disputed by CVE because path_to_root is defined before use in all of the other files reported in the original disclosure","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in n/a","id":"CVE-2007-5148","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2007"},"n_packages":0,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2007-5149"},"packages":[],"prev":{"headline":"Code injection in n/a","id":"CVE-2007-5147"},"products":["n/a"],"published":"2007-10-01","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-5720","kev_date_added":null,"published":"2019-01-08"},{"cvss_score":9.3,"headline":"Code injection in n/a","id":"CVE-2007-5117","kev_date_added":null,"published":"2007-09-27"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-7176","kev_date_added":null,"published":"2018-02-16"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2018-1000890","kev_date_added":null,"published":"2018-12-27"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2014-3973","kev_date_added":null,"published":"2014-06-05"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2009-4037","kev_date_added":null,"published":"2009-11-20"},{"cvss_score":7.5,"headline":"SQL injection in n/a","id":"CVE-2009-4045","kev_date_added":null,"published":"2009-11-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary PHP code via URL injection in FrontAccounting, though the vulnerability is disputed by CVE.","url":"https://insights.sbomify.com/CVE-2007-5148/"}