Report On OWASP What Is OWASP?: Deep Nandu BED-C-48
Report On OWASP What Is OWASP?: Deep Nandu BED-C-48
BED-C-48
Report on OWASP
What is OWASP?
The Open Web Application Security Project, or OWASP, is an international non-profit
organization dedicated to web application security. One of OWASP’s core principles is that
all their materials be freely available and easily accessible on their website, making it
possible for anyone to improve their own web application security. The materials they offer
include documentation, tools, videos, and forums. Perhaps their best-known project is the
OWASP Top 10. OWASP has a project where in they regularly update the top 10 attacks
that are critical. The OWASP Top 10 is a regularly updated report outlining security concerns
for web application security, focusing on the 10 most critical risks. The report is put together
by a team of security experts from all over the world. OWASP refers to the Top 10 as an
‘awareness document’ and they recommend that all companies incorporate the report into
their processes to minimize and/or mitigate security risks.
2. Broken Authentication
Vulnerabilities in authentication (login) systems can give attackers access to user accounts
and even the ability to compromise an entire system using an admin account. For example, an
attacker can take a list containing thousands of known username/password combinations
obtained during a data breach and use a script to try all those combinations on a login system
to see if there are any that work.
Some strategies to mitigate authentication vulnerabilities are requiring two-factor
authentication (2FA) as well as limiting or delaying repeated login attempts using rate
limiting.
For example: Application session timeouts aren’t set properly. A user uses a public
computer to access an application. Instead of selecting “logout” the user simply closes the
Deep Nandu
BED-C-48
browser tab and walks away. An attacker uses the same browser an hour later, and the user is
still authenticated.
6. Security Misconfiguration
Security misconfiguration is the most common vulnerability on the list and is often the result
of using default configurations or displaying excessively verbose errors. For instance, an
application could show a user overly descriptive errors which may reveal vulnerabilities in
the application. This can be mitigated by removing any unused features in the code and
ensuring that error messages are more general.
Security misconfiguration is the most seen issue. This is commonly a result of insecure
default configurations, incomplete or ad hoc configurations, open cloud storage,
misconfigured HTTP headers, and verbose error messages containing sensitive information.
Not only must all operating systems, frameworks, libraries, and applications be securely
configured, but they must be patched/upgraded in a timely fashion.
For example:
A cloud service provider has default sharing permissions open to the Internet by other CSP
users. This allows sensitive data stored within cloud storage to be accessed.
7. Cross-Site Scripting
Cross-site scripting vulnerabilities occur when web applications allow users to add custom
code into a URL path or onto a website that will be seen by other users. This vulnerability
can be exploited to run malicious JavaScript code on a victim’s browser. For example, an
attacker could send an email to a victim that appears to be from a trusted bank, with a link to
that bank’s website. This link could have some malicious JavaScript code tagged onto the end
of the url. If the bank’s site is not properly protected against cross-site scripting, then that
malicious code will be run in the victim’s web browser when they click on the link.
Mitigation strategies for cross-site scripting include escaping untrusted HTTP requests as
well as validating and/or sanitizing user-generated content. Using modern web development
frameworks like ReactJS and Ruby on Rails also provides some built-in cross-site scripting
protection
8. Insecure Deserialization
This threat targets the many web applications which frequently serialize and deserialize data.
Serialization means taking objects from the application code and converting them into a
format that can be used for another purpose, such as storing the data to disk or streaming it.
Deserialization is just the opposite: converting serialized data back into objects the
application can use. Serialization is sort of like packing furniture away into boxes before a
move, and deserialization is like unpacking the boxes and assembling the furniture after the
move. An insecure deserialization attack is like having the movers tamper with the contents
of the boxes before they are unpacked.
An insecure deserialization exploit is the result of deserializing data from untrusted sources
and can result in serious consequences like DDoS attacks and remote code execution attacks.
While steps can be taken to try and catch attackers, such as monitoring deserialization and
implementing type checks, the only sure way to protect against insecure deserialization
attacks is to prohibit the deserialization of data from untrusted sources.
Deep Nandu
BED-C-48
For example:
A React application calls a set of Spring Boot microservices. Being functional programmers,
they tried to ensure that their code is immutable. The solution they came up with is serializing
user state and passing it back and forth with each request. An attacker notices the “R00” Java
object signature and uses the Java Serial Killer tool to gain remote code execution on the
application server.