{"answers":{"affected":"2 open source packages ship an affected version, including intelliants/subrion. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19422 exists.","fix":"Upgrade intelliants/subrion to 4.2.2 or later.","what":"CVE-2018-19422 is a high-severity vulnerability in n/a, published on 21 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-19422 and fix it if it is affected.\n\nWhat it is: CVE-2018-19422 is a high-severity vulnerability in n/a, published on 21 Nov 2018. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-19422 exists.\n\nAffected packages and fixed versions:\n- intelliants/subrion (Packagist): affected all versions; fixed in 4.2.2\n- intelliants/subrion (Packagist): affected all versions; fixed in 4.2.2\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-19422/ (Markdown: https://insights.sbomify.com/CVE-2018-19422/index.md)","id":"CVE-2018-19422","markdown":"https://insights.sbomify.com/CVE-2018-19422/index.md","name":"CVE-2018-19422","record":{"aliases":["GHSA-73xj-v6gc-g5p5"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Subrion CMS","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary PHP code by uploading .pht or .phar files due to missing restrictions in the .htaccess configuration.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"subrion_cms","vendor":"intelliants"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"/panel/uploads in Subrion CMS 4.2.1 allows remote attackers to execute arbitrary PHP code via a .pht or .phar file, because the .htaccess file omits these.","ecosystems":["Packagist"],"exploits":{"exploitdb":1,"first_seen":"2018-11-04","github_poc":3,"max_poc_stars":8,"metasploit":1,"nuclei":0,"refs":[{"date":"2021-06-14T01:50:21Z","kind":"github_poc","ref":"https://github.com/hev0x/CVE-2018-19422-SubrionCMS-RCE","stars":8,"title":"CVE-2018-19422 Authenticated Remote Code Execution"},{"date":"2022-04-29T17:23:23Z","kind":"github_poc","ref":"https://github.com/Swammers8/SubrionCMS-4.2.1-File-upload-RCE-auth-","stars":8,"title":"This is an edited version of the CVE-2018-19422 exploit to fix an small but annoying issue I had."},{"date":"2018-11-04","kind":"metasploit","ref":"exploit/multi/http/subrion_cms_file_upload_rce","stars":null,"title":"Intelliants Subrion CMS 4.2.1 - Authenticated File Upload Bypass to RCE"},{"date":"2021-05-17","kind":"exploitdb","ref":"49876","stars":null,"title":"Subrion CMS 4.2.1 - Arbitrary File Upload"},{"date":"2025-04-04T02:22:38Z","kind":"github_poc","ref":"https://github.com/Drew-Alleman/CVE-2018-19422","stars":0,"title":"Subrion File Upload Bypass to RCE and Custom File Upload (Authenticated) POC"}],"tier":"weaponised"},"has_fix":true,"headline":"Subrion CMS RCE Vulnerability","id":"CVE-2018-19422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"file_upload","year":"2018"},"n_packages":2,"n_references":3,"next":{"headline":"File upload in n/a","id":"CVE-2018-19423"},"packages":[{"ecosystem":"Packagist","fixed":["4.2.2"],"introduced":["0"],"last_affected":[],"package":"intelliants/subrion","purl":null,"source":"GHSA-73xj-v6gc-g5p5"},{"ecosystem":"Packagist","fixed":["4.2.2"],"introduced":["0"],"last_affected":[],"package":"intelliants/subrion","purl":"pkg:composer/intelliants/subrion","source":"GHSA-73xj-v6gc-g5p5"}],"prev":{"headline":"File upload in n/a","id":"CVE-2018-19421"},"products":["n/a"],"published":"2018-11-21","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2017-11444","kev_date_added":null,"published":"2017-07-19"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2017-11445","kev_date_added":null,"published":"2017-07-19"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2017-6013","kev_date_added":null,"published":"2017-03-27"},{"cvss_score":8.8,"headline":"Remote code execution in Subrion","id":"CVE-2021-43464","kev_date_added":null,"published":"2022-04-04"},{"cvss_score":8.8,"headline":"Cross Site Request Forgery in intelliants/subrion","id":"CVE-2020-18326","kev_date_added":null,"published":"2022-03-04"},{"cvss_score":8.8,"headline":"Subrion CMS CSRF Vulnerability","id":"CVE-2019-7357","kev_date_added":null,"published":"2020-11-10"},{"cvss_score":8.8,"headline":"Subrion CMS vulnerable to CSRF in blog/delete","id":"CVE-2017-18366","kev_date_added":null,"published":"2019-04-12"}],"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":"BSD-3-Clause","name":"Metasploit"},{"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 execute arbitrary PHP code by uploading .pht or .phar files due to missing restrictions in the .htaccess configuration.","url":"https://insights.sbomify.com/CVE-2018-19422/"}