在 xhtml2pdf 0.2.19 版本之前,pisa.startViewer() 函数中存在一个操作系统命令注入漏洞。攻击者可以通过将未转义的文件名插入到 os.system 调用来执行任意命令。当使用 pisa 工具的 -s/--start-viewer 选项时,攻击者可以提供一个文件名中包含双引号和 shell 元字符的输入文件,从而以调用该工具的用户权限执行操作系统命令。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet