
Printcart <= 2.13.2 Unauthenticated File Upload
Upload verification for the Printcart Store (WooCommerce product designer) plugin printcart-integration.
nbu_crop_image / nbd_upload_design_file accept a public nonce printed on the
upload-design-file page, so an unauthenticated visitor can upload a file to
wp-content/uploads/nbdesigner/uploads/<key>/<name>. The plugin validates only the
image/* content type, so a GIF + PHP polyglot is accepted. Uploaded files are
served as image/jpeg unless the web server is configured to run PHP in the
uploads directory; this tool verifies the upload itself.
# Single target
python3 poc.py "https://target.com" --authorized
# Mass upload from targets.txt
python3 poc.py targets.txt --threads 10 --output results.json --authorized
Options:
--threads — concurrent workers (default: 5)--output — write results as JSON--authorized — confirm written permission for live testing[UPLOAD] https://target.com/ https://target.com/wp-content/uploads/nbdesigner/uploads/pcXXXXXXXX/1794XXXXXXlntrl.jpg
[-] https://safe.com/ version >2.13.2 or plugin missing
[x] https://other.com/ upload-failed
The uploaded file is named lntrl.jpg. The default payload is fetched from
https://upload.lntrl.dev/f/uhzru7f.jpg; if the fetch fails a small built-in
GIF + PHP polyglot is used instead.
For authorized security testing only. Do not run against targets without written permission.