Skip to content
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

Local File Read and SSRF vulnerability via img tags #1763

Open
1 task done
jmoritzc53 opened this issue Nov 17, 2022 · 1 comment
Open
1 task done

Local File Read and SSRF vulnerability via img tags #1763

jmoritzc53 opened this issue Nov 17, 2022 · 1 comment

Comments

@jmoritzc53
Copy link

Guidelines

Description of the bug

There is a bug in the fetching of images which allows rendering local files into the PDF document. To exploit this issue an attacker needs to control the src attribute of an img tag.

mPDF version

8.1.2, 8.0.17

PHP Version and environment (server type, cli provider etc., enclosing libraries and their respective versions)

PHP 8.1, Ubuntu server

Reproducible PHP+CSS+HTML snippet suffering by the error

For further details, please reach out to johannes@cure53.de.

@nwse-ghm
Copy link

Issue might be closely related to #867, #868

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants