Description
A SQL Injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the id parameter in the my_classmates.php web page.. As a result, an attacker can extract sensitive data from the web server and in some cases can use this vulnerability in order to get a remote code execution on the remote web server.
Affected Software
Related
{"id": "CVE-2021-42668", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2021-42668", "description": "A SQL Injection vulnerability exists in Sourcecodester Engineers Online Portal in PHP via the id parameter in the my_classmates.php web page.. As a result, an attacker can extract sensitive data from the web server and in some cases can use this vulnerability in order to get a remote code execution on the remote web server.", "published": "2021-11-05T13:15:00", "modified": "2021-12-16T20:34:00", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5}, "severity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}, "cvss3": {"cvssV3": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-42668", "reporter": "cve@mitre.org", "references": ["https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html", "https://github.com/TheHackingRabbi/CVE-2021-42668", "https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42668", "https://www.nu11secur1ty.com/2021/12/cve-2021-42668.html"], "cvelist": ["CVE-2021-42668"], "immutableFields": [], "lastseen": "2022-03-23T19:34:31", "viewCount": 21, "enchantments": {"dependencies": {"references": [{"type": "githubexploit", "idList": ["4CC00C6B-584A-57EF-9255-D7F5F0FEBC2F"]}], "rev": 4}, "score": {"value": 5.8, "vector": "NONE"}, "twitter": {"counter": 2, "modified": "2021-11-26T16:57:17", "tweets": [{"link": "https://twitter.com/Attackerkb_Bot/status/1467424808908558339", "text": "A new /hashtag/attackerkb?src=hashtag_click assesment on 'CVE-2021-42668' has been created by nu11secur1ty.\nAttacker Value: 5 | Exploitability: 5"}, {"link": "https://twitter.com/Attackerkb_Bot/status/1467424808908558339", "text": "A new /hashtag/attackerkb?src=hashtag_click assesment on 'CVE-2021-42668' has been created by nu11secur1ty.\nAttacker Value: 5 | Exploitability: 5"}]}, "backreferences": {"references": [{"type": "githubexploit", "idList": ["4CC00C6B-584A-57EF-9255-D7F5F0FEBC2F"]}]}, "exploitation": null, "vulnersScore": 5.8}, "_state": {"dependencies": 0}, "_internal": {}, "cna_cvss": {"cna": null, "cvss": {}}, "cpe": ["cpe:/a:engineers_online_portal_project:engineers_online_portal:-"], "cpe23": ["cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*"], "cwe": ["CWE-89"], "affectedSoftware": [{"cpeName": "engineers_online_portal_project:engineers_online_portal", "version": "-", "operator": "eq", "name": "engineers online portal project engineers online portal"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:engineers_online_portal_project:engineers_online_portal:-:*:*:*:*:*:*:*", "cpe_name": []}]}]}, "extraReferences": [{"url": "https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html", "name": "https://www.sourcecodester.com/php/13115/engineers-online-portal-php.html", "refsource": "MISC", "tags": ["Product", "Third Party Advisory"]}, {"url": "https://github.com/TheHackingRabbi/CVE-2021-42668", "name": "https://github.com/TheHackingRabbi/CVE-2021-42668", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42668", "name": "https://github.com/nu11secur1ty/CVE-mitre/tree/main/CVE-2021-42668", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.nu11secur1ty.com/2021/12/cve-2021-42668.html", "name": "https://www.nu11secur1ty.com/2021/12/cve-2021-42668.html", "refsource": "MISC", "tags": ["Exploit", "Third Party Advisory"]}]}
{"githubexploit": [{"lastseen": "2022-03-24T19:10:18", "description": "# cve-2021-42668\nCVE-2021-42668 - SQL Injection vulnerability in...", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-11-03T20:43:30", "type": "githubexploit", "title": "Exploit for SQL Injection in Engineers Online Portal Project Engineers Online Portal", "bulletinFamily": "exploit", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-42668"], "modified": "2021-11-06T17:47:22", "id": "4CC00C6B-584A-57EF-9255-D7F5F0FEBC2F", "href": "", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "privateArea": 1}, {"lastseen": "2022-03-24T23:29:50", "description": "# cve-2021-42668\nCVE-2021-42668 - SQL Injection vulnerability in...", "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "baseScore": 9.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1", "userInteraction": "NONE"}, "impactScore": 5.9}, "published": "2021-11-03T20:43:30", "type": "githubexploit", "title": "Exploit for SQL Injection in Engineers Online Portal Project Engineers Online Portal", "bulletinFamily": "exploit", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2021-42668"], "modified": "2021-11-06T17:47:22", "id": "C0E8E0C8-B5D9-5E0D-9225-42A81DC5278A", "href": "", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "privateArea": 1}]}