-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symlink detection, warning and scanning are not working as intended #183
Comments
The problematic check was intended to detect symlinks pointing to themselves using the Python built-in |
Re-opening for the following issue where regular (ie non-symlinked) files are being interpreted as symlinks when files are scanned with the templates directory:
|
I'm still observing symlinks being followed repeatedly with v2.1.0rc8 12/11/23 Steps:
Other scenarios with same result below. I think these make sense (the issue should not happen but the cause makes sense here too) -- this is perhaps the logic to check/search for other wordpress installs at the current dir or lower down:
Scenarios I confirmed do not result in trying to infinitely follow a symlink:
I am NOT seeing this behavior with the |
v2.1.0rc9 12/12/23 SUMMARY: REPRODUCTION AND VALIDATION STEPS
NOTES: |
See case #25 and #74 which addressed symlinks earlier. It appears the message and handling of symlinks was altered possibly when addressing symlinks pointing to themselves in another case. Recursive symlinks are now receiving the message "symlink pointing to itself . . . " rather than the original message of "Recursive symlink detected at /path/being/scanned"
Example:
In addition to the warning message, the symlinked directory is not being scanned for malware.
The text was updated successfully, but these errors were encountered: