Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YFexam-exam-1.9.2 has a logical loophole #5

Open
LvZCh opened this issue Dec 22, 2024 · 0 comments
Open

YFexam-exam-1.9.2 has a logical loophole #5

LvZCh opened this issue Dec 22, 2024 · 0 comments

Comments

@LvZCh
Copy link

LvZCh commented Dec 22, 2024

Source Code Developer: Beijing Yunfan Internet Technology Co., Ltd
Source code name:yfexam-exam
Source code version:1.9.2
Source code official website:https://www.jeedocm.com/?plan=githuby
Source code download link:https://github.com/qiutiandefeng/yfexam-exam/archive/refs/heads/main.zip

Vulnerability description:
src/main/java/com/yf/exam/modules/paper/controller/PaperController.java, Not restricting the input ID resulted in direct viewing of answers during the answering process, leading to cheating in the exam

Code Audit:
src/main/java/com/yf/exam/modules/paper/controller/PaperController.java, Not restricting the input ID resulted in direct viewing of answers during the answering process
image

Vulnerability verification:
Go take the exam
image
Start the exam
image
Current exam ID: 1870818465200226305
image
Open directly: http://192.168.0.106:8101/#/my/exam/result/1870818465200226305
You can directly view the correct answer
image
Complete the answer and submit the paper
image
100 points
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant