Skip to content

Instantly share code, notes, and snippets.

@hyp164D1
Created November 30, 2024 02:53
Show Gist options
  • Save hyp164D1/d419bdf3e7e352088a21631d0f452a8c to your computer and use it in GitHub Desktop.
Save hyp164D1/d419bdf3e7e352088a21631d0f452a8c to your computer and use it in GitHub Desktop.
Duplicate of CVE-2024-53564
Duplicate of CVE-2024-53564
[Description]
A serious vulnerability was discovered in FreePBX 17.0.19.17. FreePBX
does not verify the type of uploaded files and does not restrict user
access paths, allowing attackers to remotely control the FreePBX server
by uploading malicious files with malicious content and accessing the
default directory where the files are uploaded. This will result in
particularly serious consequences.
------------------------------------------
[Additional Information]
This is a critical issue.
Please handle it as soon as possible
------------------------------------------
[Vulnerability Type]
Incorrect Access Control
------------------------------------------
[Vendor of Product]
FreePBX
------------------------------------------
[Affected Product Code Base]
freepbx - freepbx 17.0.19.17
------------------------------------------
[Affected Component]
upload.php,page.modules.php,modulefunctions.class.php,Apache configuration files
------------------------------------------
[Attack Type]
Remote
------------------------------------------
[Impact Code execution]
true
------------------------------------------
[Impact Escalation of Privileges]
true
------------------------------------------
[Impact Information Disclosure]
true
------------------------------------------
[Attack Vectors]
A malicious virus with a backdoor and a shell added
remote attack
You can access the directory where the uploaded file is located through a browser
------------------------------------------
[Reference]
https://www.freepbx.org/freepbx17/
https://github.com/FreePBX/framework/blob/3f3148e32b774ba7c53ffe35c3ce06cddc1ec174/amp_conf/htdocs/admin/views/module_admin/upload.php#L42
https://github.com/FreePBX/framework/blob/3f3148e32b774ba7c53ffe35c3ce06cddc1ec174/amp_conf/htdocs/admin/page.modules.php#L752
https://github.com/FreePBX/framework/blob/3f3148e32b774ba7c53ffe35c3ce06cddc1ec174/amp_conf/htdocs/admin/libraries/modulefunctions.class.php#L1756
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment