CVE-2026-52778
Publiée le 2026-06-08 · Dernière modification le 2026-10-06
Les versions de YesWiki antérieures à la 4.6.6 sont affectées par une faille dans le calculateur de champ de formulaire de Bazar. Un attaquant non authentifié disposant d'un accès réseau peut envoyer une formule mathématique spécialement conçue pour exécuter du code PHP arbitraire ou faire planter votre serveur. Comme cela ne nécessite aucune interaction avec l'utilisateur ni aucune connexion, l'exploitation par un attaquant distant est relativement simple.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, an unsafe execution vulnerability exists in the Bazar form field calculator (CalcField.php) of YesWiki. The application attempts to sanitize user-defined mathematical formulas using a complex recursive regular expression before passing them to the PHP eval() function. This implementation is inherently flawed: it is vulnerable to Regular Expression Denial of Service (ReDoS / Stack Overflow) which can crash the server, and it creates a high-risk architecture where any logic bypass directly results in arbitrary PHP code execution. Version 4.6.6 patches the issue.