{"id":"CVE-2021-31646","sourceIdentifier":"cve@mitre.org","published":"2021-04-26T19:15:08.550","lastModified":"2026-06-17T03:52:06.967","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Gestsup before 3.2.10 allows account takeover through the password recovery functionality (remote). The affected component is the file forgot_pwd.php - it uses a weak algorithm for the generation of password recovery tokens (the PHP uniqueid function), allowing a brute force attack."},{"lang":"es","value":"Gestsup versiones anteriores a 3.2.10, permite una toma de control de la cuenta por medio de la funcionalidad password recovery (remote).&#xa0;El componente afectado es el archivo forgot_pwd.php, usa un algoritmo débil para la generación de tokens de recuperación de contraseña (la función PHP uniqueid), permitiendo un ataque de fuerza bruta"}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-307"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gestsup:gestsup:*:*:*:*:*:*:*:*","versionEndExcluding":"3.2.10","matchCriteriaId":"CCC91FEE-0720-447A-9FE3-1EBF2B9D4249"}]}]}],"references":[{"url":"https://dojo.maltem.ca/public/advisories/CVE-2021-31646.html","source":"cve@mitre.org","tags":["Broken Link","Third Party Advisory"]},{"url":"https://gestsup.fr/index.php?page=download","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"https://gestsup.fr/index.php?page=download&channel=beta&version=3.2.10&type=patch","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"https://dojo.maltem.ca/public/advisories/CVE-2021-31646.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Third Party Advisory"]},{"url":"https://gestsup.fr/index.php?page=download","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"https://gestsup.fr/index.php?page=download&channel=beta&version=3.2.10&type=patch","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]}]}