False positive: detailed PHP version info
-
One of the checks fails, stating that our “Server response headers contain detailed PHP version info.” Based on the suggested fix, I guess it checks whether the X-Powered-By or Server response headers are set, but does not check their actual content.
In your case, the Server header is set by Cloudflare, containing “cloudflare” as value. Hence, that response headers would contain “detailed PHP version info” is simply wrong. PHP and Apache are both configured to not provide any information.
I suggest to add some value regex check, to verify that there is really any PHP (or other backend) version info contained, else you cause unnecessary worries or actions, potentially even harmful ones.
The page I need help with: [log in to see the link]
- The topic ‘False positive: detailed PHP version info’ is closed to new replies.