Bugs gone bad



Email    print   
August 1, 2008 —  Static analyzers can identify and locate these security-related bugs:

Cross-site scripting: Causes the browser to execute arbitrary client-side scripting code, hijacking the user’s session and allowing the attacker to phish for account/financial information.

Injection flaws: Improperly validated data passing through the interpreter can “confuse” it and open the way for malicious code to be injected into the interpreter.

Buffer overflows:
Mostly a C and C++ problem due to lack of memory, buffer overflows are similar to injection attacks; in this case, an attacker sends commands with too many characters and takes over the system, with full privileges.

Insecure direct object reference:
Intentional or unintentional access to internal object handlers leads to exposure of data.

Information leakage and improper error handling:
Overly helpful error messages cough up too much information about a system—version, system type, error type, etc.—giving an attacker more knowledge to launch exploits.

Resource leak: When programs leak memory, the operating system may terminate them for exceeding prescribed limits, affecting other programs on the computer. Attackers can then exploit the remaining processes, in much the same way as a buffer overflow.

Unintentional ignored expressions:
When expressions are ignored, code is unreachable and cannot perform needed action. For example, a bug discovered by a Coverity customer, in which a missing parenthesis kept a single routine from executing, turned out to be the worst exploit that company had seen in five years, according to Ben Chelf, founding CTO at Coverity.

Null pointer de-reference:
Invalid values assigned between operations lead to a hard crash, the most frequent cause of Windows’ Blue Screen of Death.

Web services: Malicious code can be injected into Web services entry points. Static analyzers include rule wizards and data APIs that perform cross-service analysis and identification of Web services entry points.

Custom cookies/hidden fields:
Attackers can view the underlying HTTP response payload by viewing the source code of a Web page or by using proxies to find hidden files and cookies, and then modifying values to try to break developers’ assumptions and gain control of the application.


Sources: Coverity, Ounce Labs






Related Search Term(s): Security, testing & troubleshooting


Share this link: http://sdt.bz/32547
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
HP updates its Application Security Center
Hewlett-Packard announces that its service-based Assessment Management Platform will debut before Labor Day. DevInspect, QAInspect and WebInspect will be receiving upgrades to their security features Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb