Giter VIP home page Giter VIP logo

studentmanager's People

Contributors

hui4401 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

studentmanager's Issues

Arbitrary Password Reset Found in teacher/personal.jsp

I found a arbitrary password reset in teacher/personal.jsp.
When a user modify its information, here is not a check about who it is, and call update_teacher, update database columns just according to id user controlled.
image
When a hacker modify uid to someone's uid, someone's information and password can be resetted as what hacker wants.
image
image
image

Arbitrary Password Reset Found in student/personal.jsp

I found a arbitrary password reset in student/personal.jsp.
When a user modify its information, here is not a check about who it is, and calls update_student_security, updates database columns just according to id user controlled.
image
When a hacker modify uid to someone's uid, someone's information and password can be resetted as what hacker wants.
Following images are the information not modified, and I login as 20162430635.
image
image
I modify the id to 20162430636, and send the package, user-36's information is modified.
image
image

There is sql injection at the login

Build this project locally

There is a sql registration vulnerability in the login
image
It is found that there is a splicing of sql statements at the verification login
image
Vulnerability recurrence

Submit sql injection parameters

user=zzu'/**/and/**/extractvalue(1,concat(0x7e,(select/**/database()),0x7e))#&password=admin

image

SQL Inject Found in one_page_student

I found a sql inject in one_page_student.findWithId/findWithName.
Set a breakpoint as follows:
image
When I use payload one_page_student?key=1' or '1'='1,it hits the breakpoint.
image
image
After executing String sql=...sql becomes
image
After executing sql query, al is filled with information
image
image

SQL inject detected in login.jsp

I detected a sql inject in login.jsp by source code review.
In detail, the code in teacherD/studentD.checkAccount concat the username and password with sql, and cause a sql inject.
image
The vuln can be exploit by payload 1' or '1'='1 and access main.jsp successfully without true password.
image
image

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.