Null byte prevention
Categories
Component ID
1927890
Component name
Null byte prevention
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
849
Component created
Component changed
Component body
This module takes any form input on a Drupal site and removes NULL byte poisoning from it.
This module is for you if you:
- Want an added layer of security
- Don't use any NULL bytes on purpose (which you don't)
- Use any form of PHP built-in authentication such as LDAP
How to test:
- Use null byte poisoning on a vulnerable website, e.g.: with Tamper Data for Firefox
- Install this module
- Try again and fail to hack the website through NULL byte poisoning
Important note
This module only filters $form_state['values'] as it is the most common and effective attack vector for NULL byte poisoning. If, for some reason, you save data to or use data from other parts of the $form_state, it is not protected.
