Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

11/11/2010
07:09 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

A Security 'Patch' For Web Development Frameworks

OWASP DC panel debates ways to make security part of the application framework

WASHINGTON, D.C. -- OWASP AppSec DC 2010 -- A panel of application security experts here yesterday concurred that secure Web development is broken and debated ways to fix the frameworks so developers can write more secure applications.

"What if some frameworks had security features built into them that wouldn't make security an afterthought?" says Rafal Los, Web application security evangelist for the HP Software and Solutions business at HP. "What if we fixed the frameworks so it was harder to write insecure code, and that you had to [actually] purposely write code insecurely to make it insecure?"

Developers don't purposely write their Web apps insecurely -- they are just victims of the tools they must use, according to the panel, which was headed by Josh Abraham, security consultant with Rapid7. And with more developers using prebuilt development frameworks, such as JSF, Struts, Spring, and DWR, that weren't designed with security in mind, it's no wonder so many Web apps are riddled with security holes, according to the premise of the panel.

It's not that there are no efforts to help developers write more secure code: Aside from developer training efforts, there's OWASP's Enterprise Security API (ESAPI), an open-source Web app security control library aimed at making secure code simpler to write.

But ESAPI hasn't been as widely adopted thus far as its creators had hoped, and training doesn't scale, according to the panel. Chris Eng, senior director of research at Veracode, says his firm rarely sees organizations using it. "ESAPI has been around a long time, but very rarely do we run into [companies] using it. Why? It has fairly good protections. If it's baking these [protections] into the framework, why hasn't it caught on?"

Eng said he's in favor of improving the development frameworks. He posed the possibility of a framework being built to prevent developers from writing insecure code at all: "It is possible to fix things in the framework, but what if you could make it impossible for developers to write something insecure -- without them ever having to know about security?" Eng said.

Rapid7's Abraham agreed that the ideal would be for the frameworks to make it easier to build in security and harder to write insecure code.

But it's not so simple to retrofit legacy code, the panelists said. "Back-porting is a losing battle," Abraham said.

It makes more sense to build security from the ground up in new generations of frameworks, the panelists agreed.

As for more extreme approaches, such as holding developers legally accountable for writing insecure code, HP's Los said litigation isn't the answer.

Another option would be to somehow make developers accountable for their coding within the organization. "In my ideal world, developers would have to have secure code as one of their MBOs [Management By Objectives measurements]," Veracode's Eng said.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Sodinokibi Ransomware: Where Attackers' Money Goes
Kelly Sheridan, Staff Editor, Dark Reading,  10/15/2019
Data Privacy Protections for the Most Vulnerable -- Children
Dimitri Sirota, Founder & CEO of BigID,  10/17/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
2019 Online Malware and Threats
2019 Online Malware and Threats
As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-18202
PUBLISHED: 2019-10-19
Information Disclosure is possible on WAGO Series PFC100 and PFC200 devices before FW12 due to improper access control. A remote attacker can check for the existence of paths and file names via crafted HTTP requests.
CVE-2019-18209
PUBLISHED: 2019-10-19
templates/pad.html in Etherpad-Lite 1.7.5 has XSS when the browser does not encode the path of the URL, as demonstrated by Internet Explorer.
CVE-2019-18198
PUBLISHED: 2019-10-18
In the Linux kernel before 5.3.4, a reference count usage error in the fib6_rule_suppress() function in the fib6 suppression feature of net/ipv6/fib6_rules.c, when handling the FIB_LOOKUP_NOREF flag, can be exploited by a local attacker to corrupt memory, aka CID-ca7a03c41753.
CVE-2019-18197
PUBLISHED: 2019-10-18
In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclo...
CVE-2019-4409
PUBLISHED: 2019-10-18
HCL Traveler versions 9.x and earlier are susceptible to cross-site scripting attacks. On the Problem Report page of the Traveler servlet pages, there is a field to specify a file attachment to provide additional problem details. An invalid file name returns an error message that includes the entere...