5.3 MEDIUM
- CVSS version: 3.1
- Attack vector (AV):
- Attack complexity (AC):
- Privileges required (PR):
- User interaction (UI):
- Scope (S):
- Confidentiality impact (C):
- Integrity impact (I):
- Availability impact (A):
by @mweinelt Activity log
- Created automatic suggestion
- @mweinelt dismissed (not in Nixpkgs)
Canto <= 3.1.1 - Missing Authorization to Unauthenticated File Upload
The Canto plugin for WordPress is vulnerable to Missing Authorization in all versions up to, and including, 3.1.1 via the `/wp-content/plugins/canto/includes/lib/copy-media.php` file. This is due to the file being directly accessible without any authentication, authorization, or nonce checks, and the `fbc_flight_domain` and `fbc_app_api` URL components being accepted as user-supplied POST parameters rather than read from admin-configured options. Since the attacker controls both the destination server and the `fbc_app_token` value, the entire fetch-and-upload chain is attacker-controlled — the server never contacts Canto's legitimate API, and the uploaded file originates entirely from the attacker's infrastructure. This makes it possible for unauthenticated attackers to upload arbitrary files (constrained to WordPress-allowed MIME types) to the WordPress uploads directory. Additional endpoints (`detail.php`, `download.php`, `get.php`, `tree.php`) are also directly accessible without authentication and make requests using a user-supplied `app_api` parameter combined with an admin-configured subdomain.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0777f759-6980-4572-a8…
- https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-m…
- https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-m…
- https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.…
- https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.…
- https://plugins.trac.wordpress.org/browser/canto/tags/3.1.1/includes/lib/copy-m…
- https://plugins.trac.wordpress.org/browser/canto/trunk/includes/lib/copy-media.…
Affected products
- =<3.1.1
Matching in nixpkgs
pkgs.cantor
Front end to powerful mathematics and statistics packages
pkgs.cantoolz
Black-box CAN network analysis framework
pkgs.canto-curses
Ncurses-based console Atom/RSS feed reader
pkgs.canto-daemon
Daemon for the canto Atom/RSS feed reader
pkgs.libsForQt5.cantor
Front end to powerful mathematics and statistics packages
pkgs.kdePackages.cantor
Front end to powerful mathematics and statistics packages
pkgs.plasma5Packages.cantor
Front end to powerful mathematics and statistics packages
pkgs.typstPackages.auto-canto
Automatic conversion to Cantonese romanizations from Chinese characters
-
nixos-unstable -
- nixos-unstable-small 0.2.3
pkgs.python312Packages.cantools
Tools to work with CAN bus
pkgs.python313Packages.cantools
Tools to work with CAN bus
pkgs.python314Packages.cantools
Tools to work with CAN bus
pkgs.typstPackages.canto-parser
A package for displaying Cantonese characters with Jyutping (粵拼) / Yale (耶魯) from raw JSON data
-
nixos-unstable -
- nixos-unstable-small 0.2.1
pkgs.haskellPackages.cantor-pairing
Convert data to and from a natural number representation
pkgs.typstPackages.auto-canto_0_2_3
Automatic conversion to Cantonese romanizations from Chinese characters
-
nixos-unstable -
- nixos-unstable-small 0.2.3
pkgs.typstPackages.canto-parser_0_2_1
A package for displaying Cantonese characters with Jyutping (粵拼) / Yale (耶魯) from raw JSON data
-
nixos-unstable -
- nixos-unstable-small 0.2.1
Package maintainers
-
@devhell devhell <"^"@regexmail.net>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@hqurve hqurve <hqurve@outlook.com>
-
@bkchr Bastian Köcher <nixos@kchr.de>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@nyanloutre Paul Trehiou <paul@nyanlout.re>
-
@K900 Ilya K. <me@0upti.me>
-
@SCOTT-HAMILTON Scott Hamilton <sgn.hamilton@protonmail.com>
-
@FRidh Frederik Rietdijk <fridh@fridh.nl>
-
@ilya-fedin Ilya Fedin <fedin-ilja2010@ya.ru>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@mjm Matt Moriarity <matt@mattmoriarity.com>
-
@LunNova Luna Nova <nixpkgs-maintainer@lunnova.dev>
-
@ttuegel Thomas Tuegel <ttuegel@mailbox.org>
-
@gray-heron Cezary Siwek <ave+nix@cezar.info>
-
@cherrypiejam Gongqi Huang
-
@RossSmyth Ross Smyth