{"api_version":"1","generated_at":"2026-07-23T10:51:43+00:00","cve":"CVE-2022-31383","urls":{"html":"https://cve.report/CVE-2022-31383","api":"https://cve.report/api/cve/CVE-2022-31383.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31383","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31383"},"summary":{"title":"CVE-2022-31383","description":"Directory Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in view-directory.php.","state":"PUBLISHED","assigner":"mitre","published_at":"2022-06-16 17:15:08","updated_at":"2026-07-09 01:17:30"},"problem_types":["CWE-89","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt","name":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"],"title":"POC/CVE-2022-31383.txt at main · laotun-s/POC · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://directory.com","name":"http://directory.com","refsource":"MITRE","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"403"},{"url":"http://phpgurukul.com","name":"http://phpgurukul.com","refsource":"MITRE","tags":[],"title":"PHP Project, PHP Projects Ideas, PHP Latest tutorials, PHP oops Concept","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31383","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31383","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31383","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"phpgurukul","cpe5":"directory_management_system","cpe6":"1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2022","cve_id":"31383","cve":"CVE-2022-31383","epss":"0.016440000","percentile":"0.736840000","score_date":"2026-07-13","updated_at":"2026-07-14 00:13:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-07-09T00:19:18.930Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"descriptions":[{"lang":"en","value":"Directory Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in view-directory.php."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2026-07-05T15:50:08.031Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"url":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2022-31383","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Directory Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in view-directory.php."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://phpgurukul.com","refsource":"MISC","url":"http://phpgurukul.com"},{"name":"http://directory.com","refsource":"MISC","url":"http://directory.com"},{"name":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt","refsource":"MISC","url":"https://github.com/laotun-s/POC/blob/main/CVE-2022-31383.txt"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2022-31383","datePublished":"2022-06-16T16:41:18.000Z","dateReserved":"2022-05-23T00:00:00.000Z","dateUpdated":"2026-07-09T00:19:18.930Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2022-06-16 17:15:08","lastModifiedDate":"2026-07-09 01:17:30","problem_types":["CWE-89","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpgurukul:directory_management_system:1.0:*:*:*:*:*:*:*","matchCriteriaId":"77986F29-8C0B-4B73-BD32-6A610A89C64B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"31383","Ordinal":"1","Title":"CVE-2022-31383","CVE":"CVE-2022-31383","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"31383","Ordinal":"1","NoteData":"Directory Management System v1.0 was discovered to contain a SQL injection vulnerability via the editid parameter in view-directory.php.","Type":"Description","Title":"CVE-2022-31383"}]}}}