Submit #108518: SQL injection vulnerability exists in Master.php in php-sqlite-gpa-calculatorinfo

TitleSQL injection vulnerability exists in Master.php in php-sqlite-gpa-calculator
DescriptionIn the php-sqlite-gpa-calculator project released yesterday, users can construct malicious statements in Master.php to perform sql injection, because the a parameter and perc parameter in the code are controllable It can be seen that the value of perc depends entirely on how we pass parameters. If we pass parameters as perc=1'='1' union select 1,2,3,sqlite_version(),1+2;, then we can control this sql Inject, and get the version of the database project url:https://www.sourcecodester.com/php/16373/grade-point-average-gpa-calculator-php-and-sqlite3-source-code-free-download.html
Source⚠️ https://github.com/Pe4cefulSnow/SQL-Injection/blob/main/README.md
User
 Pe4cefulSnow (UID 34389)
Submission03/31/2023 07:22 (3 years ago)
Moderation03/31/2023 12:30 (5 hours later)
StatusAccepted
VulDB entry224671 [SourceCodester Grade Point Average GPA Calculator 1.0 Master.php get_scale perc sql injection]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!