cbcvebase.
CVE-2023-0943
published 2023-02-21

CVE-2023-0943: A vulnerability, which was classified as problematic, has been found in SourceCodester Best POS Management System 1.0. This issue affects the function…

PriorityP261high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
2.27%
81.0th percentile
A vulnerability, which was classified as problematic, has been found in SourceCodester Best POS Management System 1.0. This issue affects the function save_settings of the file index.php?page=site_settings of the component Image Handler. The manipulation of the argument img with the input ../../shell.php leads to unrestricted upload. The attack may be initiated remotely. The associated identifier of this vulnerability is VDB-221591.

Affected

2 ranges
VendorProductVersion rangeFixed in
best_pos_management_system_projectbest_pos_management_system
sourcecodesterbest_pos_management_system

Detection & IOCsextracted from sources · hover to see the quote

urlhttp://localhost/kruxton/index.php?page=site_settings
urlhttp://localhost/kruxton/assets/uploads/
urlhttp://localhost/kruxton/assets/uploads/1676627880_shell.png.php?cmd=whoami
path/kruxton/assets/uploads/
filenameshell.php
filename1676627880_shell.png.php
path../../shell.php
pathindex.php?page=site_settings
  • Detect path traversal in the 'img' argument targeting the site_settings page; payloads use '../../shell.php' to escape the upload directory.
  • Monitor POST requests to 'index.php?page=site_settings' for file uploads with double-extension filenames (e.g., *.png.php) or .php extensions in the img parameter.
  • Alert on GET requests to '/kruxton/assets/uploads/' containing '.php' files, especially those with a '?cmd=' query parameter indicating webshell command execution.
  • Uploaded webshell filenames follow the pattern: <unix_timestamp>_shell.png.php — monitor the uploads directory for files matching this naming convention.
  • ·The exploit paths (e.g., /kruxton/) are based on the default installation directory from the vendor's downloadable ZIP. Deployments in non-default directories will have different base paths.
  • ·The vulnerability is exploitable by an authenticated admin user; unauthenticated exploitation requires prior credential compromise.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.05.8MEDIUMAV:N/AC:L/Au:M/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.