GithubHelp home page GithubHelp logo

tamurashingo / rails_vuln_app_sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from halkichi0308/rails_vuln_app_sample

0.0 1.0 0.0 27.36 MB

Dockerfile 0.56% Ruby 59.83% JavaScript 1.79% CSS 6.54% HTML 31.04% Shell 0.25%

rails_vuln_app_sample's Introduction

README

1. Setup

You want start rails using docker, following command is enough.

$cd rails_broken_app

$docker-compose up -d

than use a browser to access localhost:3000

You'll see rails_broken_app page.

2. Usage

Rails_Broken_App has some vulnerabiliy.Use various techniques to find the vulnerability.

3. Vulnerability

3.1 XSS

Reveiw => SUBMIT

source-sink
/app/views/review/_list.html.erb

3.2 SQLi

products => Purchase

source-sink  
/app/controllers/cart_controller.rb

3.3 CSRF

Reveiw => SUBMIT

source-sink  
/app/controllers/review_controller.rb

3.4 OpenRedirect

Login => Login

source-sink  
/app/controllers/User/sessions_controller.rb```

rails_vuln_app_sample's People

Contributors

halkichi0308 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.