<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Web App Security - Medium]]></title>
        <description><![CDATA[Doing it right to stymie those who would do wrong. - Medium]]></description>
        <link>https://medium.com/web-app-security?source=rss----e972bc5fc80a---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Web App Security - Medium</title>
            <link>https://medium.com/web-app-security?source=rss----e972bc5fc80a---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 09:10:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/web-app-security" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How can Heartbleed exploit affect me? ]]></title>
            <link>https://medium.com/@drew_sing/how-can-heartbleed-exploit-affect-me-9c193d248bc?source=rss----e972bc5fc80a---4</link>
            <guid isPermaLink="false">https://medium.com/p/9c193d248bc</guid>
            <dc:creator><![CDATA[Drew Sing]]></dc:creator>
            <pubDate>Tue, 08 Apr 2014 18:12:38 GMT</pubDate>
            <atom:updated>2014-04-08T18:12:38.791Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUX1IhoqigKn04jUH8oLyg.jpeg" /></figure><h4>List of Proof of Concepts included below. </h4><p>Unless your spent yesterday and this morning under a rock you’ll have heard about a <a href="https://heartbleed.com/">very serious vulnerability in OpenSSL</a> yesterday.</p><p>OpenSSL is the open-source software that provides SSL capability (e.g. the “S” in HTTPS) for up to 66% of Internet connected devices. The vulnerability allows an attacker to read the memory of the vulnerable system. The important thing to remember is that memory is where an attacker is most likely to find decrypted data, like passwords and private keys.</p><p>After a vulnerability like this is disclosed there is usually a short period before an exploit (a piece of software that uses the vulnerability to do bad things, also referred to as a POC) is released. So, after all the attention Heartbleed received yesterday, the question on the minds of many is “How long until the exploit is released, what tools are available to test if I am vulnerable to this issue, and we see wide scale exploitation of this vulnerability in the wild?”</p><p>The answer: Yes, it’s out there in the wild right now, and was released less than a few hours after the vulnerability notice went public.</p><h3><strong>A list of Heartbeat exploit POCs is provided below.</strong></h3><p>Note: Running code from the internet, especially exploit POC code, is a really bad idea unless you know what you are doing. This list is provided without warranty and for information only. Don’t be evil.</p><ul><li><a href="http://filippo.io/Heartbleed/">http://filippo.io/Heartbleed/</a> (An online test for exposure to Heartbleed) and <a href="https://github.com/FiloSottile/Heartbleed">https://github.com/FiloSottile/Heartbleed</a> (The codebase the author indicates is running on the site)</li><li><a href="http://pastebin.com/WmxzjkXJ">http://pastebin.com/WmxzjkXJ</a> (ssltest.py)</li><li><a href="https://www.ssllabs.com/ssltest/index.html">https://www.ssllabs.com/ssltest/index.html</a> (An online test for exposure to Heartbleed)</li></ul><p>If we’re missing anything, or you’d think any of the information needs to be changed, please tweet us <a href="https://twitter.com/bugcrowd">@bugcrowd</a> and we’ll credit you on this post as a contributor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c193d248bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t limit your passwords]]></title>
            <link>https://medium.com/web-app-security/dont-limit-your-passwords-9cbd71215f54?source=rss----e972bc5fc80a---4</link>
            <guid isPermaLink="false">https://medium.com/p/9cbd71215f54</guid>
            <dc:creator><![CDATA[Amber Yust]]></dc:creator>
            <pubDate>Sun, 02 Feb 2014 00:07:27 GMT</pubDate>
            <atom:updated>2014-02-02T00:07:25.789Z</atom:updated>
            <content:encoded><![CDATA[<p>There is nothing more frustrating than seeing so many sites that put a ridiculously low upper limit on password length. Modern websites should be using modern password hashing, and every modern hash function handles long passwords just fine.</p><p>That’s not to say <em>minimum</em> length requirements are bad — something like “at least 8 characters” is a reasonable requirement. It’s also not a bad idea to require passwords to be more than just a single dictionary word. Finally, it’s sensible to put a <em>large</em> maximum length (e.g. 1000), simply to avoid someone trying to stall out your server code by making it hash a ton of data.</p><p>Beyond the most basic of minimum requirements, however, you really should take as much of a hands-off approach as you can. Many sites actually reduce the effective password strength for their users by forcing them to conform to arbitrary limitations. As <a href="http://xkcd.com/936/">xkcd nicely demonstrates</a>, password strength isn’t about requiring weird combinations of characters but rather about overall entropy. The average user has a much easier time remembering entropy in the form of words and phrases rather than weird combinations of symbols.</p><p>That said, there’s also no reason to disallow special characters or spaces from passwords — since you’re never going to include a password directly in a database query or display it in a page, you don’t have to worry about special characters causing weird behavior. Disallowing characters buys you nothing and makes it harder for users to choose passwords they’ll remember. If someone wants to use an entire poem for their password… let them!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9cbd71215f54" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web-app-security/dont-limit-your-passwords-9cbd71215f54">Don’t limit your passwords</a> was originally published in <a href="https://medium.com/web-app-security">Web App Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use strong password hashing]]></title>
            <link>https://medium.com/web-app-security/use-strong-password-hashing-d239c437a0cf?source=rss----e972bc5fc80a---4</link>
            <guid isPermaLink="false">https://medium.com/p/d239c437a0cf</guid>
            <dc:creator><![CDATA[Amber Yust]]></dc:creator>
            <pubDate>Sat, 01 Feb 2014 23:44:14 GMT</pubDate>
            <atom:updated>2014-02-01T23:44:11.312Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to password storage, you should really be using <a href="https://www.google.com/search?q=bcrypt">bcrypt</a> or a similarly well-proven slow hashing method that includes a salt. Not all hash functions are created equal — digest hashes like MD5 are not designed for protecting passwords, but instead are designed for fast integrity verification.</p><p>Why is being fast a bad thing? Because if an attacker acquires a password hash, they can try to determine the original password by brute forcing their way through all possible passwords, checking to see if there is a match. The slower the hashing function, the longer it will take to try every possible value.</p><p>Also note that “HMAC” itself is not a hash function, but rather a way of using another hash function. Thus, something like HMAC-MD5 is still not appropriate for password hashing because it’s still effectively using MD5.</p><p>It should hopefully go without saying that you should never use reversible encryption for passwords. There is absolutely no reason why you should ever need to look up the original value of a password — if a user forgets their password, just generate a single-use token that allows them to reset their password and email them the token. (Never email actual passwords.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d239c437a0cf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web-app-security/use-strong-password-hashing-d239c437a0cf">Use strong password hashing</a> was originally published in <a href="https://medium.com/web-app-security">Web App Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why are you still storing passwords in your users table?]]></title>
            <link>https://medium.com/web-app-security/why-are-you-still-storing-passwords-in-your-users-table-b66e9f776f4f?source=rss----e972bc5fc80a---4</link>
            <guid isPermaLink="false">https://medium.com/p/b66e9f776f4f</guid>
            <dc:creator><![CDATA[Amber Yust]]></dc:creator>
            <pubDate>Sun, 08 Dec 2013 09:03:17 GMT</pubDate>
            <atom:updated>2013-12-08T09:03:15.900Z</atom:updated>
            <content:encoded><![CDATA[<h4>Make it hard to do the wrong thing.</h4><p>Most non-trivial web applications which have a concept of a “user” have a database table devoted to users, typically holding all sorts of information about them. Username, account creation timestamp, nickname, legal name, age, favorite color, and so on.</p><p>This table also tends to have a column named “password” or some derivative thereof (“password_hash” for the more refined). <strong>This is bad.</strong></p><p>Why is it bad? Let’s think about what a password hash is used for, and significantly, when it’s used. The password hash is <em>only</em> supposed to be used when a user is logging in. It’s used for an <em>internal</em> comparison only, and <em>never displayed</em> to any user.</p><p>Sitting as a column in the users table, however, it’s all too easy for it to get included in a careless “SELECT *” or an ORM object’s serialization and wind up being displayed to users.</p><p><strong>There’s a better option.</strong> Keep a separate table for login information, keyed on the same ID as your users table. At login time, it’s a trivial (but importantly, <em>explicit</em>) join to fetch the required hash, and after the user is logged in you never need to join on that table again. Developers can’t accidentally include password hashes in queries because it requires an explicit inclusion of another table to look up the sensitive information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b66e9f776f4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web-app-security/why-are-you-still-storing-passwords-in-your-users-table-b66e9f776f4f">Why are you still storing passwords in your users table?</a> was originally published in <a href="https://medium.com/web-app-security">Web App Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use SSL for everything.]]></title>
            <link>https://medium.com/web-app-security/use-ssl-for-everything-5a1301cd88ef?source=rss----e972bc5fc80a---4</link>
            <guid isPermaLink="false">https://medium.com/p/5a1301cd88ef</guid>
            <dc:creator><![CDATA[Amber Yust]]></dc:creator>
            <pubDate>Sun, 08 Dec 2013 08:46:31 GMT</pubDate>
            <atom:updated>2013-12-08T08:46:28.176Z</atom:updated>
            <content:encoded><![CDATA[<p>Here’s a simple question: does your website involve user data?</p><p>If the answer is “yes” then you should probably be using SSL. For those not familiar with it, SSL is the encrypted communication channel used for <a href="http://en.wikipedia.org/wiki/HTTP_Secure">HTTPS</a> traffic (among other things). It prevents third parties—say, the person at the next table over in the coffee shop—from being able to trivially eavesdrop on the contents of requests that happen to pass through public networks on their way to their destination.</p><p>Hearing SSL described as such, you might be think that it only needs to be used for pages which involve private data. In that case, here’s another question: does your website involve user logins?</p><p>If the answer is “yes” then you should probably be using SSL for every page that is served to a logged in user. Why? Because in order to recognize a logged in user, you’re almost certainly using cookies, and cookies can be eavesdropped as well. Once someone has the cookie, they can just <a href="http://en.wikipedia.org/wiki/Session_hijacking">pretend to be the user</a> and request the private data themselves.</p><p>Okay, so you need to use SSL for logged-in users, but it’s fine to not use it for anonymous users, right? Third question: are there any pages that both anonymous and logged-in users use?</p><p>If so, you should always use SSL for those pages as well. After all, you won’t be able to tell whether the user is anonymous or not until you’ve been able to check for a login cookie, at which point that cookie has already potentially been transmitted.</p><p><strong>Of course, there’s a simpler option: just use SSL for everything.</strong></p><p>Nowadays, most web applications aren’t CPU bound — they spend the majority of their time waiting for database results or similar. Adding a small amount of CPU overhead for SSL isn’t a problem, and it’s the safest option.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a1301cd88ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/web-app-security/use-ssl-for-everything-5a1301cd88ef">Use SSL for everything.</a> was originally published in <a href="https://medium.com/web-app-security">Web App Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>