CVE-2025-34329
CVE-2025-34329
Weakness (CWE)
CVSS Vector
v4.0- Attack Vector
- Network
- Attack Complexity
- Low
- Attack Requirements
- None
- Privileges Required
- None
- User Interaction
- None
- Confidentiality (Vulnerable)
- High
- Integrity (Vulnerable)
- High
- Availability (Vulnerable)
- High
- Confidentiality (Subsequent)
- None
- Integrity (Subsequent)
- None
- Availability (Subsequent)
- None
Description
AudioCodes Fax Server and Auto-Attendant IVR appliances versions up to and including 2.6.23 expose an unauthenticated backup upload endpoint at AudioCodes_files/ajaxBackupUploadFile.php in the F2MAdmin web interface. The script derives a backup folder path from application configuration, creates the directory if it does not exist, and then moves an uploaded file to that location using the attacker-controlled filename, without any authentication, authorization, or file-type validation. On default Windows deployments where the backup directory resolves to the system drive, a remote attacker can upload web server or interpreter configuration files that cause a log file or other server-controlled resource to be treated as executable code. This allows subsequent HTTP requests to trigger arbitrary command execution under the web server account, which runs as NT AUTHORITY\\SYSTEM.
Comprehensive Technical Analysis of CVE-2025-34329
1. Vulnerability Assessment and Severity Evaluation
CVE ID: CVE-2025-34329
Description:
The vulnerability affects AudioCodes Fax Server and Auto-Attendant IVR appliances up to and including version 2.6.23. An unauthenticated backup upload endpoint (AudioCodes_files/ajaxBackupUploadFile.php) in the F2MAdmin web interface allows attackers to upload files without proper validation. This can lead to arbitrary command execution under the web server account, which runs as NT AUTHORITY\SYSTEM.
CVSS Score: 9.8
Severity Evaluation: The CVSS score of 9.8 indicates a critical vulnerability. The high score is due to the following factors:
- Attack Vector: Network (AV:N)
- Attack Complexity: Low (AC:L)
- Privileges Required: None (PR:N)
- User Interaction: None (UI:N)
- Scope: Unchanged (S:U)
- Confidentiality Impact: High (C:H)
- Integrity Impact: High (I:H)
- Availability Impact: High (A:H)
This vulnerability poses a significant risk as it allows unauthenticated remote attackers to execute arbitrary commands with high privileges.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Unauthenticated Access: The endpoint
AudioCodes_files/ajaxBackupUploadFile.phpis accessible without authentication. - File Upload: Attackers can upload malicious files to the backup directory.
- Arbitrary Command Execution: By uploading web server or interpreter configuration files, attackers can execute arbitrary commands.
Exploitation Methods:
- Uploading Malicious Files: An attacker can upload a PHP file or other executable scripts that can be executed by the web server.
- Directory Traversal: If the backup directory resolves to the system drive, attackers can manipulate the file path to place malicious files in critical system directories.
- Command Injection: By placing configuration files that are interpreted by the web server, attackers can inject commands that will be executed with
NT AUTHORITY\SYSTEMprivileges.
3. Affected Systems and Software Versions
Affected Systems:
- AudioCodes Fax Server appliances
- AudioCodes Auto-Attendant IVR appliances
Software Versions:
- All versions up to and including 2.6.23
4. Recommended Mitigation Strategies
Immediate Actions:
- Patching: Apply the latest security patches provided by AudioCodes.
- Access Control: Restrict access to the F2MAdmin web interface to trusted IP addresses.
- Monitoring: Implement monitoring and logging for any unauthorized access attempts to the
ajaxBackupUploadFile.phpendpoint.
Long-Term Mitigations:
- Network Segmentation: Segregate critical systems from the general network to limit the attack surface.
- Regular Audits: Conduct regular security audits and vulnerability assessments.
- User Training: Educate users on the importance of not exposing administrative interfaces to the internet.
5. Impact on Cybersecurity Landscape
Immediate Impact:
- Exploitation Risk: The vulnerability can be easily exploited, leading to severe consequences such as data breaches, system compromise, and loss of service.
- Reputation Damage: Organizations using the affected appliances may suffer reputational damage if exploited.
Long-Term Impact:
- Increased Awareness: This vulnerability highlights the importance of securing administrative interfaces and validating file uploads.
- Industry Standards: It may prompt the industry to adopt stricter security measures for web interfaces and file handling mechanisms.
6. Technical Details for Security Professionals
Vulnerability Details:
- Endpoint:
AudioCodes_files/ajaxBackupUploadFile.php - File Handling: The script creates a backup directory if it does not exist and moves the uploaded file to this location using the attacker-controlled filename.
- Privileges: The web server runs as
NT AUTHORITY\SYSTEM, allowing high-privilege command execution.
Detection and Response:
- Log Analysis: Review web server logs for any suspicious file upload activities.
- Intrusion Detection: Implement intrusion detection systems (IDS) to monitor for unauthorized access attempts.
- Incident Response: Have an incident response plan in place to quickly address any detected exploitation attempts.
References:
By addressing this vulnerability promptly and implementing robust security measures, organizations can mitigate the risk of exploitation and protect their critical systems.