pmwiki: persistent cross site scripting (XSS), CVE-2010-1481

References

https://www.cve.org/CVERecord?id=CVE-2010-1481
https://int21.de/cve/CVE-2010-1481-pmwiki-xss.html
https://www.pmichaud.com/pipermail/pmwiki-users/2010-May/057389.html

Description

The table feature of pmwiki is vulnerable to persistent cross site scripting (XSS). The value of the width-parameter is not proberly escaped on output, so one can put quotes in it. This makes it possible to use a JavaScript event handler inside the first table field to inject code.

Example:

||width="
|| " onMouseOver=alert(1) " ||test||

The vendor has been contacted, but has not replied to my report.

Disclosure Timeline

2010-04-19: Vendor contacted
2010-05-07: Published advisory
2010-05-09: Vendor releases 2.2.16

Credits

This vulnerability was discovered by Hanno Boeck, https://hboeck.de/, of schokokeks.org webhosting.

CC0