The imap_body function in PHP before 4.4.4 does not implement safemode or open_basedir checks, which allows local users to read arbitrary files or list arbitrary directory contents.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Php | Php | 4.4.0 (including) | 4.4.4 (excluding) |
| Php | Php | 5.1.0 (including) | 5.1.5 (excluding) |