An issue was discovered in H2 1.4.197. Insecure handling of permissions in the backup function allows attackers to read sensitive files (outside of their permissions) via a symlink to a fake database file.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
During installation, installed file permissions are set to allow anyone to modify those files.
Link | Tags |
---|---|
https://www.exploit-db.com/exploits/45105/ | exploit vdb entry third party advisory |
https://gist.github.com/owodelta/9714faf9a86435cef5a99d4930eaee20 | third party advisory exploit |
https://lists.apache.org/thread.html/582d4165de6507b0be82d5a6f9a1ce392ec43a00c9fed32bacf7fe1e%40%3Cuser.ignite.apache.org%3E | mailing list |
https://access.redhat.com/errata/RHSA-2020:0727 | vendor advisory |
https://security.netapp.com/advisory/ntap-20240726-0003/ |