{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-16157 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2018-16157 yet. Limit exposure of the affected software until one is available.","what":"CVE-2018-16157 is a medium-severity vulnerability in n/a, published on 30 Aug 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-16157 and fix it if it is affected.\n\nWhat it is: CVE-2018-16157 is a medium-severity vulnerability in n/a, published on 30 Aug 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-16157 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-2018-16157/ (Markdown: https://insights.sbomify.com/CVE-2018-16157/index.md)","id":"CVE-2018-16157","markdown":"https://insights.sbomify.com/CVE-2018-16157/index.md","name":"CVE-2018-16157","record":{"aliases":["GHSA-59m4-cw7c-c323"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"waimai Super Cms","requires_auth":"none","summary":"Attackers can manipulate cart totals to zero, allowing them to purchase items for free by bypassing price validation logic.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"waimai_super_cms","vendor":"bijiadao"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[],"description":"waimai Super Cms 20150505 has a logic flaw allowing attackers to modify a price, before form submission, by observing data in a packet capture. By setting the index.php?m=cart\u0026a=save item_totals parameter to zero, the entire cart is sold for free.","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":"Business logic in n/a","id":"CVE-2018-16157","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"business_logic","year":"2018"},"n_packages":0,"n_references":1,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2018-16158"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2018-16156"},"products":["n/a"],"published":"2018-08-30","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-7585","kev_date_added":null,"published":"2019-02-07"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2019-3577","kev_date_added":null,"published":"2019-01-02"},{"cvss_score":6.5,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-16315","kev_date_added":null,"published":"2018-09-01"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2018-18261","kev_date_added":null,"published":"2019-04-14"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2019-7567","kev_date_added":null,"published":"2019-02-07"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2018-18622","kev_date_added":null,"published":"2018-10-23"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2018-18082","kev_date_added":null,"published":"2018-10-09"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can manipulate cart totals to zero, allowing them to purchase items for free by bypassing price validation logic.","url":"https://insights.sbomify.com/CVE-2018-16157/"}