← Back to overview

YesWiki versions 4.6.2 through 4.6.5 contain a critical signature verification bypass in HttpSignatureService::verifySignature(). The flaw arises from improper handling of PHP's openssl_verify() return values using a loose boolean negation. PHP's openssl_verify() can return -1 on error, which is truthy, causing the negation to evaluate as false and skipping the exception throw. This allows an attacker to bypass HTTP signature verification entirely, as the controller proceeds to processActivity() treating the failed verification as success. The root cause is the failure to distinguish between a failed verification (0), an error (-1), and a success (1). Any condition triggering OpenSSL's EVP_VerifyFinal() to return -1 can be weaponized. The issue has been patched in YesWiki version 4.6.6 with a stricter equality check.

Affected products

  • YesWiki 4.6.2
  • YesWiki 4.6.3
  • YesWiki 4.6.4
  • YesWiki 4.6.5

Related CVE's

  • CVE-2026-52767

Categories

  • Identity & Access
  • Web Technologies