Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. shopxo/shopxo
  4. ›
  5. CVE-2021-27817

CVE-2021-27817: Unrestricted Upload of File with Dangerous Type

May 24, 2022 (updated July 13, 2023)

A remote command execution vulnerability in shopxo 1.9.3 allows an attacker to upload malicious code generated by phar where the suffix is JPG, which is uploaded after modifying the phar suffix.

References

  • github.com/advisories/GHSA-xx77-w6p5-xvmj
  • github.com/h4ckdepy/vuls/blob/main/shopxo.md
  • nvd.nist.gov/vuln/detail/CVE-2021-27817

Code Behaviors & Features

Detect and mitigate CVE-2021-27817 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.9.3

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/shopxo/shopxo/CVE-2021-27817.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:52 +0000.