changed formatting of a paragraph element with a class of desc

This commit is contained in:
Ken Johnson
2013-05-23 16:42:49 -04:00
parent f674a57440
commit c72178a665
2 changed files with 9 additions and 2 deletions
+5
View File
@@ -11,3 +11,8 @@
*= require_self
*= require_tree .
*/
p.desc {
max-width: 850px;
word-wrap: break-word;
}
@@ -16,7 +16,7 @@
</div>
<div class="accordion-body in collapse" id="collapseOne" style="height: auto;">
<div class="accordion-inner">
<p>
<p class="desc">
Overly verbose error messages that indicate whether or not a user exists can assist an attacker with brute-forcing accounts. In attempting to harvest valid usernames for a password-guessing campaign, these messages can prove very useful.
</p>
</div>
@@ -53,7 +53,9 @@
return auth
end
</pre>
<p class="desc">
On lines 9 and 12 you'll notice that the application generates two error messages. One indicates the email address (username) doesn't exist on the system. The other indicates that the password is incorrect. Although the application will render both error messages, either one of the error messages would be harmful by itself. This type of information can be used by an attacker to harvest email addresses or usernames. Once that list is gathered, passwords can be guessed for each account. If the username being enumerated is actually an email address, a phishing campaign could ensue with emails made to look like they are originating from the vulnerable site.
</p>
</div>
</div>
</div>