Skip to content

This repository contains examples of common security vulnerabilities listed in the OWASP Top 10, along with best practices for addressing them.

License

Notifications You must be signed in to change notification settings

soywaltermendez/owasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OWASP Top 10 2021 - Ruby Examples

This project provides Ruby code examples for the OWASP Top 10 2021 vulnerabilities. Each vulnerability is demonstrated with vulnerable code, along with a secure solution and explanations.

Contents

  1. A01:2021 - Broken Access Control
  2. A02:2021 - Cryptographic Failures
  3. A03:2021 - Injection
  4. A04:2021 - Insecure Design
  5. A05:2021 - Security Misconfiguration
  6. A06:2021 - Vulnerable and Outdated Components
  7. A07:2021 - Identification and Authentication Failures
  8. A08:2021 - Software and Data Integrity Failures
  9. A09:2021 - Security Logging and Monitoring Failures
  10. A10:2021 - Server-Side Request Forgery (SSRF)

Structure

Each file follows this structure:

  • Description of the vulnerability
  • Vulnerable code example
  • Explanation of why it's vulnerable
  • Exploitation example
  • Secure solution
  • Explanation of the improvements

Usage

These examples are for educational purposes. They demonstrate common security pitfalls in Ruby applications and how to avoid them.

Contributing

Feel free to submit pull requests to improve the examples or add more detailed explanations.

Disclaimer

The vulnerable code examples should never be used in production environments. They are provided solely for learning purposes.

License

MIT License

About

This repository contains examples of common security vulnerabilities listed in the OWASP Top 10, along with best practices for addressing them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages