https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42404
--- Comment #23 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 200842 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200842&action=edit Bug 42404: (follow-up) Canonicalize extraction directory before path-traversal check The path-traversal guard compares Cwd::abs_path(\$full_path) against \$dirname using a regex anchor. If \$dirname itself contains unresolved symlink components the comparison could be fooled. Resolve \$dirname via Cwd::abs_path() immediately after extraction (once the directory exists on disk) so both sides of the comparison are fully canonicalized. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
