{"schemaVersion":3,"id":"CVE-2021-28423","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Multiple SQL Injection vulnerabilities in Teachers Record Management System 1.0 thru 2.1 allow remote authenticated users to execute arbitrary SQL commands via the 'editid' GET parameter in edit-subjects-detail.php, edit-teacher-detail.php, or the 'searchdata' POST parameter in search.php.","dates":{"published":"2021-07-01T14:38:45.000Z","modified":"2025-05-28T22:38:04.023Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02578,"percentile":0.85072,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02578},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02578,"percentile":0.85072}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02578,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02578,"percentile":0.85072}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"50018","name":"Teachers Record Management System 1.0 - 'Multiple' SQL Injection (Authenticated)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50018","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/50018.txt","codes":[]},"metasploit":null},{"id":"REF_55BD4873DF04266A","name":"Exploit Reference (nhattruong.blog)","source":"reference","url":"https://nhattruong.blog/2021/05/22/cve-2021-28423-teachers-record-management-system-1-0-searchdata-error-based-sql-injection-authenticated/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_CD1CBB2B47EF4E97","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"https://packetstormsecurity.com/files/163172/Teachers-Record-Management-System-1.0-SQL-Injection.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":3,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"phpgurukul","product":"teachers_record_management_system","name":"teachers record management system","label":"teachers_record_management_system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.0","eol":null,"hubHref":"/vendor/phpgurukul/teachers_record_management_system"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://phpgurukul.com/teachers-record-management-system-using-php-and-mysql/","label":"phpgurukul.com/teachers-record-management-system-using-php-and-mysql/","hostname":"phpgurukul.com","tags":["Product"]},{"url":"https://nhattruong.blog/2021/05/22/cve-2021-28423-teachers-record-management-system-1-0-searchdata-error-based-sql-injection-authenticated/","label":"nhattruong.blog/2021/…","hostname":"nhattruong.blog","tags":["Exploit","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/50018","label":"www.exploit-db.com/exploits/50018","hostname":"www.exploit-db.com","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://packetstormsecurity.com/files/163172/Teachers-Record-Management-System-1.0-SQL-Injection.html","label":"packetstormsecurity.com/files/163172/Teachers-Record-Management-System-1.0-SQL-Injection.html","hostname":"packetstormsecurity.com","tags":["Exploit","Third Party Advisory","VDB Entry"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-07-01T14:38:45.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-28T22:38:04.023Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:43:36.788Z","stale":false,"partial":false}}