{"id":"CVE-2024-25975","state":"PUBLISHED","title":"Arbitrary File Overwrite","description":"The application implements an up- and downvote function which alters a value within a JSON file. The POST parameters are not filtered properly and therefore an arbitrary file can be overwritten. The file can be controlled by an authenticated attacker, the content cannot be controlled. It is possible to overwrite all files for which the webserver has write access. It is required to supply a relative path (path traversal).","publishedAt":"2024-05-29T13:13:14.625Z","updatedAt":"2025-02-13T17:40:56.941Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"SEC-VLab","products":["Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany HAWKI"],"affected":[{"vendor":"Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany","product":"HAWKI","defaultStatus":"affected","versions":[{"version":"versions before commit 146967f","status":"affected","versionType":"custom"}],"repo":"https://github.com/HAWK-Digital-Environments/HAWKI"}],"references":["https://r.sec-consult.com/hawki","https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1","http://seclists.org/fulldisclosure/2024/May/34"],"weaknesses":["CWE-73"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/25xxx/CVE-2024-25975.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-25975","state":"PUBLISHED","datePublished":"2024-05-29T13:13:14.625Z","dateUpdated":"2025-02-13T17:40:56.941Z","assignerShortName":"SEC-VLab","assignerOrgId":"551230f0-3615-47bd-b7cc-93e92e730bbf","dateReserved":"2024-02-13T09:28:28.809Z"},"containers":{"cna":{"title":"Arbitrary File Overwrite","descriptions":[{"lang":"en","value":"The application implements an up- and downvote function which alters a value within a JSON file. The POST parameters are not filtered properly and therefore an arbitrary file can be overwritten. The file can be controlled by an authenticated attacker, the content cannot be controlled. It is possible to overwrite all files for which the webserver has write access. It is required to supply a relative path (path traversal)."}],"affected":[{"vendor":"Interaction Design Team at the University of Applied Sciences and Arts in Hildesheim/Germany","product":"HAWKI","defaultStatus":"affected","versions":[{"version":"versions before commit 146967f","status":"affected","versionType":"custom"}],"repo":"https://github.com/HAWK-Digital-Environments/HAWKI"}],"references":[{"url":"https://r.sec-consult.com/hawki","tags":["third-party-advisory"]},{"url":"https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1","tags":["patch"]},{"url":"http://seclists.org/fulldisclosure/2024/May/34"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-73","description":"CWE-73 External Control of File Name or Path","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"SEC-VLab","orgId":"551230f0-3615-47bd-b7cc-93e92e730bbf","dateUpdated":"2024-06-10T16:10:16.276Z"},"credits":[{"lang":"en","type":"finder","value":"Florian Stuhlmann, Thorger Jansen (Office Bochum) | SEC Consult Vulnerability Lab"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The vendor provides a patch which can be downloaded from <a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1\">https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1</a></p><br>"}],"value":"The vendor provides a patch which can be downloaded from  https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"hawki","product":"hawki","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"commit_146967f","versionType":"custom"}],"cpes":["cpe:2.3:a:hawki:hawki:*:*:*:*:*:*:*:*"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-05-30T18:19:41.943503Z","id":"CVE-2024-25975","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-06T14:49:52.060Z"}},{"title":"CVE Program Container","references":[{"url":"https://r.sec-consult.com/hawki","tags":["third-party-advisory","x_transferred"]},{"url":"https://github.com/HAWK-Digital-Environments/HAWKI/commit/146967f3148e92d1640ffebc21d8914e2d7fb3f1","tags":["patch","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2024/May/34","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T23:52:06.397Z"}}]}}}