DAST's Essential Role in SSDLC: Detecting Runtime Vulnerabilities Missed by Static Tools

The article examines how Dynamic Application Security Testing fits into the Secure Software Development Lifecycle, highlighting its unique ability to analyze running applications in their deployed environment. It contrasts DAST with SAST and SCA, noting that only DAST observes actual HTTP responses, server configurations, and exploitable behaviors after deployment. Real-world examples include misconfigured Caddy web servers exposing .env files and .git directories, as well as chained vulnerabilities in TrueConf Server 5.5.0 that enable unauthenticated remote code execution. Detailed comparisons on OWASP Juice Shop demonstrate PT BlackBox achieving higher coverage of authenticated API endpoints compared to ZAP, uncovering SSRF and XXE issues through successful exploitation proofs. The piece stresses the importance of comprehensive crawling for SPAs, proper authorization handling, and clear scan termination rules to integrate DAST effectively into CI/CD pipelines. A checklist for proper DAST integration concludes the discussion, emphasizing coverage metrics and reproducible findings.

HabrTranslated from Russian

Read at source

The role of DAST (Dynamic Application Security Testing) in the SSDLC has often been oversimplified in DevSecOps diagrams as a simple post-deployment rectangle containing tools like ZAP or Nuclei. In reality, DAST provides critical visibility into how a live application responds to HTTP requests, revealing configuration issues and exploitable vulnerabilities that static analysis cannot detect.

Limitations of Other Security Layers

Comparing security testing approaches reveals clear distinctions. SAST identifies dangerous operations and data flows in source code but misses deployment configurations. SCA detects known vulnerabilities in components yet requires software composition data and cannot always assess exploitability. WAF monitors production traffic for attack patterns but does not eliminate underlying flaws. Only DAST examines the fully assembled and running environment, including web servers, proxies, and access controls, while supplying request-response pairs for easy reproduction by developers.

Configuration Vulnerabilities Invisible in Code

Consider a typical web application with an SPA frontend and API backend. Even when SAST and SCA reports are clean, deployment misconfigurations can expose sensitive data. An incorrect root directory setting in Caddy can cause the server to serve the entire application folder instead of the built dist directory, leaking .env files containing database passwords and .git history. PT BlackBox successfully detected these exposures on test stands, demonstrating DAST's value in catching issues introduced during deployment rather than in source code.

Scanning Perimeter Assets Without Source Code

For commercial off-the-shelf products such as corporate messengers, CMS platforms, or VPN portals, source code is unavailable. DAST remains effective by probing from the outside. In August 2025, researchers identified a chain of three vulnerabilities in TrueConf Server versions prior to 5.3.7, 5.4.6, and 5.5.1: authentication bypass (BDU:2025-10114), path traversal (BDU:2025-10115), and OS command injection (BDU:2025-10116). Scanning TrueConf Server 5.5.0 with PT BlackBox confirmed all three issues within two and a half minutes by analyzing version strings and triggering the vulnerable endpoints.

Modern Crawling Challenges with SPAs

Effective DAST requires thorough attack surface discovery. Traditional crawlers struggle with single-page applications built on React or Vue, where state changes occur dynamically without URL modifications. PT BlackBox models application states through fingerprints of interactive elements, achieving coverage rates such as 93 percent on Rocket.Chat, 65 percent on YouTrack, and 97 percent on OWASP Juice Shop when supplemented with OpenAPI schemas and recorded HAR files from e2e tests.

Comparative Testing on OWASP Juice Shop

Side-by-side evaluation on OWASP Juice Shop 20.2.0 highlighted performance differences. PT BlackBox completed authenticated scanning in 22 minutes with 12,064 requests, identifying SQL injection, SSRF, XXE, and unsafe file upload vulnerabilities with exploitation evidence. ZAP required 120 minutes and generated significantly more requests yet missed several confirmed issues due to differences in crawling and authorization handling.

Authorization and Scan Termination Requirements

Comprehensive testing demands support for complex login flows including SSO redirects, CSRF tokens, and JavaScript-rendered forms. Role-based coverage helps identify accessible functionality, though access control violations require separate analysis. Scans must incorporate configurable timeouts and duplicate detection to remain practical within CI/CD time constraints while avoiding endpoints that trigger emails, payments, or deletions.

Proof of Exploitability and Pipeline Placement

High-value findings include successful exploitation evidence such as file reads via XXE or callback requests via SSRF using OAST domains. DAST should run at multiple stages: limited scans on review environments for changed components, full authenticated scans on staging or release candidates, and scheduled perimeter scans on production to catch newly disclosed vulnerabilities and manual configuration changes.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Vulnerabilities & Exploits

Oxygen Builds Custom VISORA EASM Scanner After Commercial Tools Fail to Meet Requirements
GitLab Critical Vulnerabilities Traced to Ruby Onigmo Regex Engine Flaws
Liferay Community Edition Misconfiguration Exposes Plaintext Passwords in Government Systems via CWE-319