{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-10362 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2018-10362 is a critical authentication bypass vulnerability in n/a, published on 25 Apr 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-10362 and fix it if it is affected.\n\nWhat it is: CVE-2018-10362 is a critical authentication bypass vulnerability in n/a, published on 25 Apr 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-10362 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-10362/ (Markdown: https://insights.sbomify.com/CVE-2018-10362/index.md)","id":"CVE-2018-10362","markdown":"https://insights.sbomify.com/CVE-2018-10362/index.md","name":"CVE-2018-10362","record":{"aliases":["CVE-2018-1000541","DEBIAN-CVE-2018-10362","GHSA-pm5v-j6jx-wmr3","UBUNTU-CVE-2018-10362"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"phpLiteAdmin","requires_auth":"none","summary":"Attackers can bypass authentication in phpLiteAdmin by exploiting loose comparison to log in with simplified passwords.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"phpliteadmin","vendor":"phpliteadmin"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"An issue was discovered in phpLiteAdmin 1.9.5 through 1.9.7.1. Due to loose comparison with '==' instead of '===' in classes/Authorization.php for the user-provided login password, it is possible to login with a simpler password if the password has the form of a power in scientific notation (like '2e2' for '200' or '0e1234' for '0'). This is possible because, in the loose comparison case, PHP interprets the string as a number in scientific notation, and thus converts it to a number. After that, the comparison with '==' casts the user input (e.g., the string '200' or '0') to a number, too. Hence the attacker can login with just a '0' or a simple number he has to brute force. Strong comparison with '===' prevents the cast into numbers.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Auth bypass in n/a","id":"CVE-2018-10362","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2018"},"n_packages":0,"n_references":2,"next":{"headline":"Business logic in n/a","id":"CVE-2018-10363"},"packages":[],"prev":{"headline":"Privilege escalation in n/a","id":"CVE-2018-10361"},"products":["n/a"],"published":"2018-04-25","related":[{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2021-46709","kev_date_added":null,"published":"2022-03-13"},{"cvss_score":4.3,"headline":"Cross-site scripting in n/a","id":"CVE-2015-6518","kev_date_added":null,"published":"2015-08-18"}],"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-05","vendors":["n/a"]},"summary":"Attackers can bypass authentication in phpLiteAdmin by exploiting loose comparison to log in with simplified passwords.","url":"https://insights.sbomify.com/CVE-2018-10362/"}