{{Short description|Measures taken to improve the security of an application}} '''Application security''' ('''AppSec''') includes all tasks that introduce a secure software development life cycle to development teams. Its final goal is to improve security practices and, through that, to find, fix and preferably prevent security issues within applications. It encompasses the whole application life cycle from requirements analysis, design, implementation, verification as well as maintenance.<ref>{{Cite web|last=Happe|first=Andreas|date=3 June 2021|title=What is AppSec anyways?|url=https://snikt.net/blog/2021/06/03/what-is-appsec-anyways/|website=snikt.net}}</ref>
'''Web application security''' is a branch of information security that deals specifically with the security of websites, web applications, and web services. At a high level, web application security draws on the principles of application security but applies them specifically to the internet and web systems.<ref>{{cite web |date=2015-10-23 |title=Web Application Security Overview |url=https://msdn.microsoft.com/en-us/library/ff648636.aspx}}</ref><ref>{{Cite journal |last1=Shuaibu |first1=Bala Musa |last2=Norwawi |first2=Norita Md |last3=Selamat |first3=Mohd Hasan |last4=Al-Alwani |first4=Abdulkareem |date=2013-01-17 |title=Systematic review of web application security development model |journal=Artificial Intelligence Review |volume=43 |issue=2 |pages=259–276 |doi=10.1007/s10462-012-9375-6 |issn=0269-2821 |s2cid=15221613}}</ref> The application security also concentrates on mobile apps and their security which includes iOS and Android Applications
Web Application Security Tools are specialized tools for working with HTTP traffic, e.g., Web application firewalls.
==Approaches== Different approaches will find different subsets of the security vulnerabilities lurking in an application and are most effective at different times in the software lifecycle. They each represent different tradeoffs of time, effort, cost and vulnerabilities found.
* Design review. Before code is written the application's architecture and design can be reviewed for security problems. A common technique in this phase is the creation of a threat model. * White-box testing, or code review. Critical examination of internal structure, architecture, design, etc. * Black-box testing. Tests functionality rather than internal structure. * Automated Tooling. Many security tools can be automated through inclusion into the development or testing environment. Examples of those are automated DAST/SAST tools that are integrated into code editor or CI/CD platforms. * Coordinated vulnerability platforms. These are hacker-powered application security solutions offered by many websites and software developers by which individuals can receive recognition and compensation for reporting bugs.
== Security threats == The Open Worldwide Application Security Project (OWASP) provides free and open resources. It is led by a non-profit called The OWASP Foundation. The OWASP Top 10 - 2017 results from recent research based on comprehensive data compiled from over 40 partner organizations. This data revealed approximately 2.3 million vulnerabilities across over 50,000 applications.<ref>{{Cite journal|last=Korolov|first=Maria|date=Apr 27, 2017|title=Latest OWASP Top 10 looks at APIs, web apps: The new OWASP Top 10 list is out, and while most of it remains the same, there are new additions focusing on web applications and APIs|journal=CSO|id={{ProQuest|1892694046}}}}</ref> According to the OWASP Top 10 - 2021, the ten most critical web application security risks include:<ref>{{Cite web|date=2021|title=OWASP Top 10 - 2021: The Ten Most Critical Web Application Security Risks|url=https://owasp.org/Top10/|access-date=January 11, 2022|website=Open Web Application Security Project}}</ref><ref>{{Cite web |title=What is Application Security {{!}} Types, Tools & Best Practices {{!}} Imperva |url=https://www.imperva.com/learn/application-security/application-security/ |access-date=2025-07-17 |website=Learning Center |language=en-US}}</ref>
# Broken access control # Cryptographic failures # Injection # Insecure design # Security misconfiguration # Vulnerable and outdated components # Identification and authentification failures # Software and data integrity failures # Security logging and monitoring failures* # Server-side request forgery (SSRF)*
==Security controls==
The [https://top10proactive.owasp.org/ OWASP Top 10 Proactive Controls 2024] is a list of security techniques every software architect and developer should know and heed.
The current list contains:
# Implement access control # Use cryptography the proper way # Validate all input & handle exceptions # Address security from the start # Secure by default configurations # Keep your components secure # Implement digital identity # Use browser security features # Implement security logging and monitoring # Stop server-side request forgery
==Tooling for security testing==
Security testing techniques scour for vulnerabilities or security holes in applications. These vulnerabilities leave applications open to exploitation. Ideally, security testing is implemented throughout the entire software development life cycle (SDLC) so that vulnerabilities may be addressed in a timely and thorough manner.
There are many kinds of automated tools for identifying vulnerabilities in applications. Common tool categories used for identifying application vulnerabilities include: * Static application security testing (SAST) analyzes source code for security vulnerabilities during an application's development. Compared to DAST, SAST can be utilized even before the application is in an executable state. As SAST has access to the full source code it is a white-box approach. This can yield more detailed results but can result in many false positives that need to be manually verified. * Dynamic application security testing (DAST, often called vulnerability scanners) automatically detects vulnerabilities by crawling and analyzing websites. This method is highly scalable, easily integrated and quick. DAST tools are well suited for dealing with low-level attacks such as injection flaws but are not well suited to detect high-level flaws, e.g., logic or business logic flaws.<ref>{{cite news | title= Web Application Vulnerability Scanners | publisher=NIST |url= http://samate.nist.gov/index.php/Web_Application_Vulnerability_Scanners.html}}</ref> Fuzzing tools are commonly used for input testing.<ref>{{cite news | title= Fuzzing | publisher=OWASP |url=https://owasp.org/www-community/Fuzzing}}</ref> * Industry application security research highlights increasing risks related to insecure APIs, client-side code tampering, and runtime exploitation, reinforcing the importance of comprehensive dynamic and runtime security testing.<ref>https://quixxi.com/mobile-app-threat-landscape-in-2024/</ref> * Interactive application security testing (IAST) assesses applications from within using software instrumentation. This combines the strengths of both SAST and DAST methods as well as providing access to code, HTTP traffic, library information, backend connections and configuration information.<ref>{{cite web| url= https://www.contrastsecurity.com/security-influencers/question-i-understand-sast-and-dast-and-how-to-use-them-but-what-is-iast-and-why-does-it-matter| title=I Understand SAST and DAST But What is an IAST and Why Does it Matter?| publisher=Contrast Security| first=Jeff| last=Williams|date=2 July 2015|access-date=10 April 2018}}</ref><ref name="OWASP IAST">{{Cite web |title=OWASP DevSecOps Guideline — Interactive Application Security Testing |url=https://owasp.org/www-project-devsecops-guideline/latest/02c-Interactive-Application-Security-Testing |website=OWASP |date=2025-04-24 |access-date=2025-04-24}}</ref> Some IAST products require the application to be attacked, while others can be used during normal quality assurance testing.<ref>{{cite web|url=http://www.quotium.com/resources/interactive-application-security-testing/|title=Introduction to Interactive Application Security Testing|publisher=Quotium|first=Irene|last=Abezgauz|date=February 17, 2014|access-date=January 25, 2018|archive-date=April 3, 2018|archive-url=https://web.archive.org/web/20180403193750/http://www.quotium.com/resources/interactive-application-security-testing/|url-status=dead}}</ref>{{promotional source|date=December 2018}}<ref>{{cite web|url=https://blog.secodis.com/2015/11/26/the-emerge-of-iast/|title=IAST: A New Approach For Agile Security Testing| publisher=Secodis| first=Matthias |last=Rohr|date=November 26, 2015}}</ref>{{promotional source|date=December 2018}} * Runtime application self-protection augments existing applications to provide intrusion detection and prevention from within an application runtime. * Dependency scanners (also called software composition analysis) try to detect the usage of software components with known vulnerabilities. These tools can either work on-demand, e.g., during the source code build process, or periodically.
== Regulatory requirements == Application security practices are increasingly driven by regulatory mandates that require organizations to protect the software systems processing sensitive data.
The Health Insurance Portability and Accountability Act (HIPAA) Security Rule requires covered entities to implement technical security measures to guard against unauthorized access to protected health information transmitted over electronic communications networks under 45 CFR 164.312(e)(1), and to implement procedures to verify that a person or entity seeking access to electronic protected health information is who they claim to be under 45 CFR 164.312(d).{{cite web |title=Security Standards: Technical Safeguards |url=https://www.hhs.gov/hipaa/for-professionals/security/guidance/technical-safeguards/index.html |publisher=U.S. Department of Health and Human Services |access-date=April 1, 2026}} The December 2024 HIPAA Security Rule notice of proposed rulemaking (90 FR 898) would mandate vulnerability scanning and penetration testing of applications handling electronic protected health information, and require deployment of anti-malware protection and network segmentation, codifying application-level security controls as explicit regulatory obligations.{{cite web |title=HIPAA Security Rule To Strengthen the Cybersecurity of Electronic Protected Health Information |url=https://www.federalregister.gov/documents/2025/01/06/2024-30983/hipaa-security-rule-to-strengthen-the-cybersecurity-of-electronic-protected-health-information |publisher=Federal Register |date=January 6, 2025 |access-date=April 1, 2026}}
The Payment Card Industry Data Security Standard (PCI DSS) version 4.0 Requirement 6 establishes comprehensive application security requirements including secure development practices (6.2), identification and management of vulnerabilities (6.3), protection of public-facing web applications (6.4), and change control procedures for all software changes (6.5).{{cite web |title=PCI DSS v4.0 |url=https://www.pcisecuritystandards.org/document_library/ |publisher=PCI Security Standards Council |date=March 2022 |access-date=April 1, 2026}}
==Security standards and regulations== * CERT Secure Coding standard * ISO/IEC 27034-1:2011 ''Information technology — Security techniques — Application security -- Part 1: Overview and concepts'' * ISO/IEC TR 24772:2013 ''Information technology — Programming languages — Guidance to avoiding vulnerabilities in programming languages through language selection and use'' * NIST Special Publication 800-53 * OWASP ASVS: Web Application Security Verification Standard<ref>{{cite web|url=https://owasp.org/www-project-application-security-verification-standard/|title=OWASP Application Security Verification Standard}}</ref><ref name="StatPearls-HIPAA">{{cite book |last1=Edemekong |first1=Peter F. |last2=Annamaraju |first2=Parvathi |last3=Haydel |first3=MJ |title=Health Insurance Portability and Accountability Act |url=https://www.ncbi.nlm.nih.gov/books/NBK500019/ |work=StatPearls |publisher=StatPearls Publishing |date=2024 |access-date=April 3, 2026}}</ref><ref name="HHS-NPRM-factsheet">{{cite web |title=HIPAA Security Rule Notice of Proposed Rulemaking – Fact Sheet |url=https://www.hhs.gov/hipaa/for-professionals/security/hipaa-security-rule-nprm/factsheet/index.html |publisher=U.S. Department of Health and Human Services |access-date=April 3, 2026}}</ref>
==See also== * Common Weakness Enumeration * Data security * Mobile security * OWASP * Microsoft Security Development Lifecycle * Usable security
==References== {{reflist|50em}}
<!-- ==External links== -->
{{Information security}}
{{DEFAULTSORT:Application Security}} Category:Mobile security Category:Data security