CVE-2006-4481
Publiée le 2006-08-31 · Dernière modification le 2026-06-16
Les versions de PHP antérieures à 5.1.5 permettent aux utilisateurs locaux de contourner les restrictions `safe_mode` et `open_basedir` en utilisant les fonctions `file_exists` et `imap_reopen`. Un attaquant disposant d'un accès shell local peut utiliser cette faille pour lire, modifier ou supprimer des fichiers en dehors des répertoires restreints définis par l'administrateur. Cette exploitation est facile à exécuter et ne nécessite aucun privilège spécial ni interaction de l'utilisateur, si ce n'est la possession d'un compte sur le système.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- cve@mitre.org
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
- af854a3a-2127-422b-91ae-364da2661108
Description officielle du NVD (en anglais)
The (1) file_exists and (2) imap_reopen functions in PHP before 5.1.5 do not check for the safe_mode and open_basedir settings, which allows local users to bypass the settings. NOTE: the error_log function is covered by CVE-2006-3011, and the imap_open function is covered by CVE-2006-1017.