{"id":"CVE-2024-36622","published":"2024-11-29T00:00:00Z","modified":"2024-12-03T15:26:18Z","title":"In RaspAP raspap-webgui 3.0.9 and earlier, a command injection vulnerability exists in the clearlog.php script","vendor":null,"product":null,"tier":"tail","description":{"text":"In RaspAP raspap-webgui 3.0.9 and earlier, a command injection vulnerability exists in the clearlog.php script. The vulnerability is due to improper sanitization of user input passed via the logfile parameter.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02838,"percentile":0.8699,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/raspap/raspap-webgui/commit/c98d2b0c15942b4829d31dec615b9b40cc6faa14#diff-939ee414d82245c3b3dd7d36b57f10706e06e8f0871b24bdcf9de6e0d181c4c9","tags":[]},{"url":"https://github.com/RaspAP/raspap-webgui/blob/3.0.9/ajax/logging/clearlog.php","tags":[]},{"url":"https://gist.github.com/1047524396/ab997b902ec892e592a0df93f38e6941","tags":[]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":17.4},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-12-03T15:25:31.744610Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36328","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-billz-raspap-webgui-cve-2022-39986","parents":[{"from":"CVE-2022-39986","to":"CVE-2024-36622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ajax/logging/clearlog.php","ajax/openvpn/activate_ovpncfg.php","ajax/openvpn/del_ovpncfg.php"],"commits":["https://github.com/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e","https://github.com/raspap/raspap-webgui/commit/c98d2b0c15942b4829d31dec615b9b40cc6faa14"],"basis":"rarely changed file"}]},{"from":"CVE-2024-28754","to":"CVE-2024-36622","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ajax/adblock/update_blocklist.php","ajax/bandwidth/get_bandwidth.php","ajax/bandwidth/get_bandwidth_hourly.php","ajax/logging/clearlog.php","ajax/networking/do_sys_reset.php"],"commits":["https://github.com/RaspAP/raspap-webgui/commit/d0592b63de9a5da587ab3a51e03e7e566c7f3602","https://github.com/raspap/raspap-webgui/commit/c98d2b0c15942b4829d31dec615b9b40cc6faa14"],"basis":"rarely changed file"}]}]}}