SlideLegend

Frame A-17 · Standard

OWASP Testing Guide

Publisher
OWASP Foundation
Year
2014
Topic
Technology
Published here

Read the original at OWASP Foundation

Audio briefing · A-17

Listen to it 2:29

Thirteen categories, running from information gathering at one end to WebAssembly testing at the other.

Read the transcript

Thirteen categories, running from information gathering at one end to WebAssembly testing at the other. That is the current shape of a document that started life in 2014 as the OWASP Testing Guide version four, and has since been renamed the OWASP Web Security Testing Guide, or WSTG for short. OWASP is the Open Web Application Security Project, a nonprofit foundation that produces open source security resources for developers and security professionals. The Testing Guide is one of its flagship projects, meaning it gets the highest level of maintenance and community attention OWASP gives out. Version four, published in 2014, marked a real shift in how the project was built. Earlier editions lived on a wiki. From v4 onward, the guide moved to GitHub, turning it into a collaborative, versioned piece of software rather than a static wiki page. The guide's structure follows the order a real security assessment tends to follow. It starts with information gathering, working out what a target application actually exposes before touching it. From there it moves through configuration and deployment management, identity management, authentication, authorization, and session management. Then it covers input handling under a category simply called injection, followed by error handling and weak cryptography. Business logic testing and client side testing come next, checking not just whether the code is secure but whether the application's own rules can be gamed. The guide now closes with two newer additions: API testing and WebAssembly testing, both reflecting how web applications are actually built today, which looks very different from how they were built in 2014. The current stable release is version four point two, published in December 2020. A version five was in active development at the time of this research, already reaching into areas like WebSocket security, OAuth two point oh and PKCE authentication flows, and testing for serverless applications, none of which existed as mainstream concerns when the original 2014 guide was written. If you are looking for the exact 2014 version four text today, it is not separately hosted anymore. OWASP's current project page only lists the newer four point one and four point two releases. The guide, in a real sense, is its own successor. It never stopped being maintained. It just kept the same name for the project while quietly becoming a different document.

The OWASP Testing Guide does not read like a document that stayed still. Published as version four in 2014, it has since been renamed, restructured, moved to a new publishing platform, and expanded to cover technology that barely existed when the 2014 edition went out. What follows describes both the 2014 document and the thing it became, because in this case the two are inseparable: the guide’s current form is the direct, actively maintained successor of the 2014 text, not a different project that happened to inherit its name.

A wiki becomes a GitHub project

OWASP, the Open Web Application Security Project Foundation, is a nonprofit that produces open-source security resources for developers and security professionals, largely through volunteer contribution. The Testing Guide sits among its flagship projects, the small set of OWASP documents that receive the highest level of ongoing maintenance. Version four, in 2014, marked a structural change as much as a content update: the guide moved off a wiki-based publishing system and onto GitHub, turning it into a versioned, collaboratively edited document rather than a page anyone could quietly edit at any time.

That platform shift is why the guide’s version history reads more like software than like a book. After v4 came v4.1, then v4.2 in December 2020, the current stable release, with a v5.0 already under active development. As of this research, the project’s current live page credits Rick Mitchell and Elie Saad as project leaders, with contributions from 183 people and nearly ten thousand stars on its GitHub repository, numbers that put it among the more actively maintained security-documentation projects on the platform, not a document someone wrote once and walked away from.

Six sections make up the guide beyond the testing methodology itself: a foreword, an “about” page, an introduction explaining scope and how to use the document, the OWASP Testing Framework describing how security testing fits across a software development lifecycle, a reporting section standardizing how findings should be written up and named, and a set of appendices covering testing history, tools, further reading, fuzzing, and encoded injection techniques. The reporting section matters more than it might sound: a shared naming convention for findings is what lets one security team’s report reference “WSTG-INFO-02” and have another team, anywhere in the world, know exactly which test that refers to without re-reading the whole methodology.

Thirteen categories, in the order an assessment actually runs

The guide’s methodology follows something close to the order a real security assessment tends to take. It begins with information gathering: working out what a target application exposes before touching anything sensitive. From there it moves through configuration and deployment management testing, identity management testing, authentication testing, authorization testing, and session management testing, the layers that decide who gets in and what they can do once they are inside.

StageWhat it checks
Information GatheringWhat the application exposes before testing begins
Configuration & Deployment ManagementServer and deployment hygiene
Identity ManagementHow accounts and roles are created and managed
AuthenticationLogin and credential handling
AuthorizationWhat an authenticated user is allowed to do
Session ManagementHow logged-in state is tracked and protected
InjectionWhether user input can alter application behavior
Error HandlingWhat information failures leak
Weak CryptographyHow data is encrypted, and how well
Business LogicWhether the application’s own rules can be gamed
Client-Side TestingBrowser-side vulnerabilities
API TestingSecurity of application programming interfaces
WebAssembly TestingSecurity of WebAssembly-based application code

The last two rows on that list did not exist in any meaningful form in the original 2014 edition. API testing and WebAssembly testing were folded in as the way web applications get built changed, a reminder that a “testing guide” is only useful if it tracks how software is actually shipped, not how it was shipped a decade earlier.

What v5.0 is adding

At the time of this research, version five of the guide was already in development on OWASP’s GitHub repository, reaching into territory that did not exist as a mainstream security concern in 2014: WebSocket security, OAuth 2.0 and PKCE authentication flows, and testing for serverless applications, where there is no persistent server to probe in the traditional sense.

Each of those additions maps to a real shift in how web applications get built and deployed. WebSockets keep a connection open instead of the old request-and-response pattern, which changes what an attacker can do with a single foothold. OAuth 2.0 and PKCE cover the login flow most consumer apps now use to let a user sign in with an existing account rather than a fresh password. Serverless applications remove the always-on server a tester would normally probe directly, replacing it with short-lived functions that only exist while handling a single request. None of the 2014 guide’s thirteen categories were built with any of that in mind, which is exactly why a v5.0 was needed rather than a patch to v4.2.

Where the 2014 text went

If you are specifically hunting for the original 2014 version four release, it is worth knowing it is not separately hosted anymore. OWASP’s current project page lists only the newer v4.1 and v4.2 releases, not the original v4 text as its own artifact. That is a reasonable outcome for a living, versioned document, but it does mean the exact 2014 wording is harder to pin down today than the guide’s current, actively maintained form at wstg.owasp.org. Anyone building security-testing practice on this guide today should be working from the current WSTG, not treating a decade-old PDF as current methodology.

Slide check · 5 questions

Check yourself

Question 01 of 05

What organization publishes the OWASP Testing Guide?

Show the answer

A · OWASP (Open Web Application Security Project) FoundationOWASP, a nonprofit foundation, publishes the guide as one of its flagship projects.

Question 02 of 05

What is the guide now called, after its rename?

Show the answer

A · The OWASP Web Security Testing Guide (WSTG)The Testing Guide was renamed the Web Security Testing Guide, abbreviated WSTG.

Question 03 of 05

What platform did the guide move to starting with version 4, replacing a wiki?

Show the answer

A · GitHubVersion 4 marked the guide's move from a wiki-based system to a GitHub-based collaborative release process.

Question 04 of 05

How many major testing categories does the current WSTG structure cover?

Show the answer

B · 13The current guide is organized into 13 major testing categories, from information gathering to WebAssembly testing.

Question 05 of 05

Which of these is a newer test area being added for WSTG v5.0?

Show the answer

B · OAuth 2.0/PKCE flowsWSTG v5.0 development includes newer areas like WebSocket security, OAuth 2.0/PKCE flows, and serverless testing.