{"id":"CVE-2021-40889","aliases":["CVE-2021-40889"],"related":[],"kind":"vulnerability","state":"published","title":"CMSUno version 1.7.2 is affected by a PHP code execution vulnerability.","summary":"CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CMSUno version 1.7.2 is affected by a PHP code execution vulnerability. sauvePass action in {webroot}/uno/central.php file calls to file_put_contents() function to write username in password.php file when a user successfully changed their password. The attacker can inject malicious PHP code into password.php and then use the login function to execute code.","source":"cvelist"},{"lang":"es","text":"CMSUno versión 1.7.2, está afectada por una vulnerabilidad de ejecución de código PHP. La acción sauvePass en el archivo {webroot}/uno/central.php llama a la función file_put_contents() para escribir el nombre de usuario en el archivo password.php cuando un usuario ha cambiado su contraseña con éxito. El atacante puede inyectar código PHP malicioso en password.php y luego usar la función login para ejecutar código","source":"nvd"}],"published":"2021-10-11T09:56:11.000Z","modified":"2026-06-17T04:07:35.977Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"1.7.2"}],"vendor":"cmsuno_project","product":"cmsuno","cpe":"cpe:2.3:a:cmsuno_project:cmsuno:1.7.2:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/boiteasite/cmsuno/issues/19","tags":["exploit","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-40889","url":"https://www.cve.org/CVERecord?id=CVE-2021-40889","licence":"CVE Terms of Use","modified":"2024-08-04T02:51:07.714Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-40889","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40889","licence":"Public domain","modified":"2026-06-17T04:07:35.977Z"}],"updatedAt":"2026-11-25T22:58:04.405Z","epss":{"score":0.01847,"percentile":0.79689,"date":"2026-12-01T12:00:22.000Z"}}