{"id":"CVE-2024-29196","aliases":["CVE-2024-29196","GHSA-mmh6-5cpf-2c72"],"related":[],"kind":"vulnerability","state":"published","title":"phpMyFAQ Path Traversal in Attachments","summary":"phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. There is a Path Traversal vulnerability in Attachments that allows attackers with admin rights to upload malicious files to other locations of the web root. This vulnerability is fixed in 3.2.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. There is a Path Traversal vulnerability in Attachments that allows attackers with admin rights to upload malicious files to other locations of the web root. This vulnerability is fixed in 3.2.6.","source":"cvelist"},{"lang":"en","text":"### Summary\nThere is a Path Traversal vulnerability in Attachments that allows attackers with admin rights to upload malicious files to other locations of the web root.\n\n### PoC\n1. In settings, the attachment location is vulnerable to path traversal and can be set to e.g ..\\hacked\n![image](https://github.com/thorsten/phpMyFAQ/assets/63487456/6167ba74-254c-4aed-9c16-759e5ceafd81)\n\n2. When the above is set, attachments files are now uploaded to e.g C:\\Apps\\XAMPP\\htdocs\\hacked instead of C:\\Apps\\XAMPP\\htdocs\\phpmyfaq\\attachments\n\n3. Verify this by uploading an attachment and see that the \"hacked\" directory is now created in the web root folder with the attachment file inside.\n![image](https://github.com/thorsten/phpMyFAQ/assets/63487456/325df0cc-e9ee-48bd-a7bb-1295199b4d9e)\n![image](https://github.com/thorsten/phpMyFAQ/assets/63487456/beb10a6a-9d56-4607-8da6-49581991b1fe)\n\n### Impact\nAttackers can potentially upload malicious files outside the specified directory.","format":"markdown","source":"ghsa"},{"lang":"es","text":"phpMyFAQ es una aplicación web de preguntas frecuentes de código abierto para PHP 8.1+ y MySQL, PostgreSQL y otras bases de datos. Existe una vulnerabilidad de Path Traversal en los archivos adjuntos que permite a los atacantes con derechos de administrador cargar archivos maliciosos en otras ubicaciones de la raíz web. Esta vulnerabilidad se soluciona en 3.2.6.","source":"nvd"}],"published":"2024-03-25T19:35:09.000Z","modified":"2026-09-10T03:50:10.646Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N","score":3.8,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.7,"rating":"LOW"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"= 3.2.5","status":"affected"}],"vendor":"thorsten","product":"phpMyFAQ","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"3.2.5","fixed":"3.2.6","status":"affected"}],"vendor":"phpmyfaq","product":"phpmyfaq","cpe":"cpe:2.3:a:phpmyfaq:phpmyfaq:3.2.5:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2.5","status":"affected","fixed":"3.2.6"}],"ecosystem":"Packagist","package":"phpmyfaq/phpmyfaq","purl":"pkg:composer/phpmyfaq/phpmyfaq","source":"ghsa"},{"ranges":[{"status":"affected","version":"3.2.5"}],"vendor":"phpmyfaq","product":"phpmyfaq","cpe":"cpe:2.3:a:phpmyfaq:phpmyfaq:3.2.5:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-mmh6-5cpf-2c72","tags":["exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/thorsten/phpMyFAQ/commit/7ae2559f079cd5fc9948b6fdfb87581f93840f62","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29196","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/thorsten/phpMyFAQ","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-05T16:25:22.893Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29196","url":"https://www.cve.org/CVERecord?id=CVE-2024-29196","licence":"CVE Terms of Use","modified":"2024-08-05T16:29:28.863Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mmh6-5cpf-2c72","url":"https://github.com/advisories/GHSA-mmh6-5cpf-2c72","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:10.646Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29196","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29196","licence":"Public domain","modified":"2026-06-17T07:22:36.460Z"}],"updatedAt":"2026-11-25T22:58:37.893Z","epss":{"score":0.00587,"percentile":0.49428,"date":"2026-12-01T12:00:22.000Z"}}