5.3 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): Low (L)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): None (N)
by @mweinelt Activity log
- Created 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
Affected products
- =<3.1.1
Matching in nixpkgs
pkgs.cantor
None
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
None
pkgs.kdePackages.cantor
Front end to powerful mathematics and statistics packages
pkgs.plasma5Packages.cantor
None
pkgs.typstPackages.auto-canto
None
-
nixos-unstable -
- nixos-unstable-small 0.2.3
pkgs.python312Packages.cantools
None
pkgs.python313Packages.cantools
Tools to work with CAN bus
pkgs.python314Packages.cantools
Tools to work with CAN bus
pkgs.typstPackages.canto-parser
None
-
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
None
-
nixos-unstable -
- nixos-unstable-small 0.2.3
pkgs.typstPackages.canto-parser_0_2_1
None
-
nixos-unstable -
- nixos-unstable-small 0.2.1
Package maintainers
-
@devhell devhell <"^"@regexmail.net>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@SuperSandro2000 Sandro Jäckel <sandro.jaeckel@gmail.com>
-
@mjm Matt Moriarity <matt@mattmoriarity.com>
-
@NickCao Nick Cao <nickcao@nichi.co>
-
@ttuegel Thomas Tuegel <ttuegel@mailbox.org>
-
@LunNova Luna Nova <nixpkgs-maintainer@lunnova.dev>
-
@K900 Ilya K. <me@0upti.me>
-
@bkchr Bastian Köcher <nixos@kchr.de>
-
@nyanloutre Paul Trehiou <paul@nyanlout.re>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@FRidh Frederik Rietdijk <fridh@fridh.nl>
-
@ilya-fedin Ilya Fedin <fedin-ilja2010@ya.ru>
-
@gray-heron Cezary Siwek <ave+nix@cezar.info>