Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-mmh6-5cpf-2c72: phpMyFAQ Path Traversal in Attachments

Summary

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.

PoC

  1. In settings, the attachment location is vulnerable to path traversal and can be set to e.g …\hacked image

  2. 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

  3. 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. image image

Impact

Attackers can potentially upload malicious files outside the specified directory.

ghsa
#vulnerability#web#git#php
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-29196

phpMyFAQ Path Traversal in Attachments

Low severity GitHub Reviewed Published Mar 25, 2024 in thorsten/phpMyFAQ • Updated Mar 25, 2024

Package

composer phpmyfaq/phpmyfaq (Composer)

Affected versions

= 3.2.5

Summary

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.

PoC

  1. In settings, the attachment location is vulnerable to path traversal and can be set to e.g …\hacked

  2. 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

  3. 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.

Impact

Attackers can potentially upload malicious files outside the specified directory.

References

  • GHSA-mmh6-5cpf-2c72

Published to the GitHub Advisory Database

Mar 25, 2024

Last updated

Mar 25, 2024

ghsa: Latest News

GHSA-pjwm-cr36-mwv3: ReDoS in giskard's transformation.py (GHSL-2024-324)