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
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
News
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Commentary
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-27180
PUBLISHED: 2021-04-14
An issue was discovered in MDaemon before 20.0.4. There is Reflected XSS in Webmail (aka WorldClient). It can be exploited via a GET request. It allows performing any action with the privileges of the attacked user.
CVE-2021-27181
PUBLISHED: 2021-04-14
An issue was discovered in MDaemon before 20.0.4. Remote Administration allows an attacker to perform a fixation of the anti-CSRF token. In order to exploit this issue, the user has to click on a malicious URL provided by the attacker and successfully authenticate into the application. Having the va...
CVE-2021-27182
PUBLISHED: 2021-04-14
An issue was discovered in MDaemon before 20.0.4. There is an IFRAME injection vulnerability in Webmail (aka WorldClient). It can be exploited via an email message. It allows an attacker to perform any action with the privileges of the attacked user.
CVE-2021-27183
PUBLISHED: 2021-04-14
An issue was discovered in MDaemon before 20.0.4. Administrators can use Remote Administration to exploit an Arbitrary File Write vulnerability. An attacker is able to create new files in any location of the filesystem, or he may be able to modify existing files. This vulnerability may directly lead...
CVE-2021-29449
PUBLISHED: 2021-04-14
Pi-hole is a Linux network-level advertisement and Internet tracker blocking application. Multiple privilege escalation vulnerabilities were discovered in version 5.2.4 of Pi-hole core. See the referenced GitHub security advisory for details.