{
    "document": {
        "category": "csaf_base",
        "csaf_version": "2.0",
        "distribution": {
            "tlp": {
                "label": "WHITE"
            }
        },
        "lang": "en",
        "notes": [
            {
                "category": "legal_disclaimer",
                "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this portal to enhance access to its information and vulnerabilities. The use of this information is subject to the following terms and conditions:\n\nThe vulnerabilities disclosed in this portal are gathered by NCSC-NL from a variety of open sources, which the user can retrieve from other platforms. NCSC-NL makes every reasonable effort to ensure that the content of this portal is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or real-time keeping up-to-date. NCSC-NL does not control nor guarantee the accuracy, relevance, timeliness or completeness of information obtained from these external sources. The vulnerabilities disclosed in this portal are intended solely for the convenience of professional parties to take appropriate measures to manage the risks posed to the cybersecurity. No rights can be derived from the information provided therein.\n\nNCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of the vulnerabilities disclosed in this portal. This includes damage resulting from the inaccuracy of incompleteness of the information contained in it.\nThe information on this page is subject to Dutch law. All disputes related to or arising from the use of this portal regarding the disclosure of vulnerabilities will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
            }
        ],
        "publisher": {
            "category": "coordinator",
            "contact_details": "cert@ncsc.nl",
            "name": "National Cyber Security Centre",
            "namespace": "https://www.ncsc.nl/"
        },
        "title": "CVE-2026-32818",
        "tracking": {
            "current_release_date": "2026-03-25T10:03:23.228348Z",
            "generator": {
                "date": "2026-02-17T15:00:00Z",
                "engine": {
                    "name": "V.E.L.M.A",
                    "version": "1.7"
                }
            },
            "id": "CVE-2026-32818",
            "initial_release_date": "2026-03-18T23:09:19.240326Z",
            "revision_history": [
                {
                    "date": "2026-03-18T23:09:19.240326Z",
                    "number": "1",
                    "summary": "CVE created.| Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-18T23:09:29.645677Z",
                    "number": "2",
                    "summary": "NCSC Score created."
                },
                {
                    "date": "2026-03-19T00:31:36.154601Z",
                    "number": "3",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (6).| Product Identifiers created (7).| Products created (2).| References created (1).| CWES updated (1)."
                },
                {
                    "date": "2026-03-19T00:31:44.372384Z",
                    "number": "4",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-19T15:31:01.666172Z",
                    "number": "5",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T18:20:47.950676Z",
                    "number": "6",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T18:20:51.634252Z",
                    "number": "7",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-20T18:22:16.395369Z",
                    "number": "8",
                    "summary": "Source created.| CVE status created. (valid)| Description created for source.| CVSS created.| Products connected (1).| References created (2).| CWES updated (1)."
                },
                {
                    "date": "2026-03-20T18:22:20.591268Z",
                    "number": "9",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-20T20:39:27.166047Z",
                    "number": "10",
                    "summary": "Unknown change."
                },
                {
                    "date": "2026-03-20T21:41:54.493152Z",
                    "number": "11",
                    "summary": "References created (2)."
                },
                {
                    "date": "2026-03-20T21:59:34.761427Z",
                    "number": "12",
                    "summary": "Source connected.| CVE status created. (valid)| EPSS created."
                },
                {
                    "date": "2026-03-20T21:59:38.068121Z",
                    "number": "13",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-21T13:46:45.829045Z",
                    "number": "14",
                    "summary": "References removed (2)."
                },
                {
                    "date": "2026-03-22T00:52:08.295719Z",
                    "number": "15",
                    "summary": "References created (2)."
                },
                {
                    "date": "2026-03-22T11:25:09.680443Z",
                    "number": "16",
                    "summary": "References removed (2)."
                },
                {
                    "date": "2026-03-23T00:54:18.970348Z",
                    "number": "17",
                    "summary": "References created (2)."
                },
                {
                    "date": "2026-03-23T05:16:16.161431Z",
                    "number": "18",
                    "summary": "References removed (2)."
                },
                {
                    "date": "2026-03-24T13:47:19.103726Z",
                    "number": "19",
                    "summary": "Products connected (1).| Product Identifiers created (1).| Exploits created (1)."
                },
                {
                    "date": "2026-03-24T13:47:22.566587Z",
                    "number": "20",
                    "summary": "NCSC Score updated."
                },
                {
                    "date": "2026-03-24T20:56:41.837407Z",
                    "number": "21",
                    "summary": "References created (2)."
                },
                {
                    "date": "2026-03-24T20:56:45.261409Z",
                    "number": "22",
                    "summary": "NCSC Score updated."
                }
            ],
            "status": "interim",
            "version": "22"
        }
    },
    "product_tree": {
        "branches": [
            {
                "branches": [
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=5.0.0|<5.0.7",
                                "product": {
                                    "name": "vers:unknown/>=5.0.0|<5.0.7",
                                    "product_id": "CSAFPID-5892344",
                                    "product_identification_helper": {
                                        "cpe": "cpe:2.3:a:admidio:admidio:*:*:*:*:*:*:*:*"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "Admidio"
                    },
                    {
                        "branches": [
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/<5.0.7",
                                "product": {
                                    "name": "vers:unknown/<5.0.7",
                                    "product_id": "CSAFPID-5874020"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/>=5.0.0|<5.0.7",
                                "product": {
                                    "name": "vers:unknown/>=5.0.0|<5.0.7",
                                    "product_id": "CSAFPID-5846255"
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.0",
                                "product": {
                                    "name": "vers:unknown/v5.0.0",
                                    "product_id": "CSAFPID-5772950",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.0"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.1",
                                "product": {
                                    "name": "vers:unknown/v5.0.1",
                                    "product_id": "CSAFPID-5772952",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.1"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.2",
                                "product": {
                                    "name": "vers:unknown/v5.0.2",
                                    "product_id": "CSAFPID-5772953",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.2"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.3",
                                "product": {
                                    "name": "vers:unknown/v5.0.3",
                                    "product_id": "CSAFPID-5772954",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.3"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.4",
                                "product": {
                                    "name": "vers:unknown/v5.0.4",
                                    "product_id": "CSAFPID-5772955",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.4"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.5",
                                "product": {
                                    "name": "vers:unknown/v5.0.5",
                                    "product_id": "CSAFPID-5772956",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.5"
                                    }
                                }
                            },
                            {
                                "category": "product_version_range",
                                "name": "vers:unknown/v5.0.6",
                                "product": {
                                    "name": "vers:unknown/v5.0.6",
                                    "product_id": "CSAFPID-5846254",
                                    "product_identification_helper": {
                                        "purl": "pkg:composer/admidio/admidio@v5.0.6"
                                    }
                                }
                            }
                        ],
                        "category": "product_name",
                        "name": "admidio"
                    }
                ],
                "category": "vendor",
                "name": "Admidio"
            }
        ]
    },
    "vulnerabilities": [
        {
            "cve": "CVE-2026-32818",
            "cwe": {
                "id": "CWE-862",
                "name": "Missing Authorization"
            },
            "notes": [
                {
                    "category": "description",
                    "text": "## Summary\n\nThe forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the `topic_delete` and `post_delete` actions in `forum.php` only validate the CSRF token but perform no authorization check before calling `delete()`. Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID.\n\nThis is inconsistent with the save/edit operations, which properly check `isAdministratorForum()` and ownership before allowing modifications.\n\n## Details\n\n### Vulnerable Code Path 1: Topic Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 98-108\n\nThe topic_delete handler validates CSRF but never calls `$topic->isEditable()`:\n\n```php\ncase 'topic_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\nThe `Topic` class has an `isEditable()` method (lines 144-164 of `ListConfiguration.php`) that properly checks `isAdministratorForum()` and `getAllEditableCategories('FOT')`, but it is never called in the delete path.\n\n### Vulnerable Code Path 2: Post Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 125-134\n\nThe post_delete handler also validates CSRF but performs no authorization check:\n\n```php\ncase 'post_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Contrast with Save Operations (Properly Authorized)\n\nThe `ForumTopicService::savePost()` method in `D:\\bugcrowd\\admidio\\repo\\src\\Forum\\Service\\ForumTopicService.php` lines 117-121 correctly verifies authorization:\n\n```php\nif ($postUUID !== '') {\n    $post->readDataByUuid($postUUID);\n    if (!$gCurrentUser->isAdministratorForum() && $post->getValue('fop_usr_id_create') !== $gCurrentUser->getValue('usr_id')) {\n        throw new Exception('You are not allowed to edit this post.');\n    }\n}\n```\n\nThe delete operations should have equivalent checks but do not.\n\n### Module-Level Access Check\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 53-59\n\nThe only check before the delete operations is the module-level access check:\n\n```php\nif ($gSettingsManager->getInt('forum_module_enabled') === 0) {\n    throw new Exception('SYS_MODULE_DISABLED');\n} elseif ($gSettingsManager->getInt('forum_module_enabled') === 1\n    && !in_array($getMode, array('cards', 'list', 'topic')) && !$gValidLogin) {\n    throw new Exception('SYS_NO_RIGHTS');\n}\n```\n\nThis only ensures the user is logged in for write operations. It does not check whether the user has forum admin rights or is the author of the content being deleted.\n\n## PoC\n\n**Prerequisites:** Two user accounts - a regular logged-in user (attacker) and a forum admin who has created topics and posts.\n\n**Step 1: Attacker discovers a topic UUID**\n\nThe attacker visits any forum topic page. Topic UUIDs are visible in the URL and page source.\n\n**Step 2: Attacker deletes the topic (and all its posts)**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=topic_delete&topic_uuid=<TOPIC_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\nThe topic and all its posts are permanently deleted from the database.\n\n**Step 3: Attacker deletes an individual post**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=post_delete&post_uuid=<POST_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\n## Impact\n\n- **Data Destruction:** Any logged-in user can permanently delete any forum topic (including all associated posts) or any individual post. The `Topic::delete()` method cascades and removes all posts belonging to the topic.\n- **Content Integrity:** Forum content created by administrators or other authorized users can be destroyed by any regular member.\n- **No Undo:** The deletion is permanent. There is no soft-delete or trash mechanism. The only recovery would be from database backups.\n- **Low Barrier:** The attacker only needs a valid login and the UUID of the target content. UUIDs are visible in forum page URLs and are not secret.\n\n## Recommended Fix\n\n### Fix 1: Add authorization check to topic_delete\n\n```php\ncase 'topic_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n\n    // Add authorization check\n    if (!$topic->isEditable()) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Fix 2: Add authorization check to post_delete\n\n```php\ncase 'post_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n\n    // Add authorization check - only forum admins or the post author can delete\n    if (!$gCurrentUser->isAdministratorForum()\n        && (int)$post->getValue('fop_usr_id_create') !== $gCurrentUserId) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```",
                    "title": "github - https://github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "description",
                    "text": "## Summary\n\nThe forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the `topic_delete` and `post_delete` actions in `forum.php` only validate the CSRF token but perform no authorization check before calling `delete()`. Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID.\n\nThis is inconsistent with the save/edit operations, which properly check `isAdministratorForum()` and ownership before allowing modifications.\n\n## Details\n\n### Vulnerable Code Path 1: Topic Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 98-108\n\nThe topic_delete handler validates CSRF but never calls `$topic->isEditable()`:\n\n```php\ncase 'topic_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\nThe `Topic` class has an `isEditable()` method (lines 144-164 of `ListConfiguration.php`) that properly checks `isAdministratorForum()` and `getAllEditableCategories('FOT')`, but it is never called in the delete path.\n\n### Vulnerable Code Path 2: Post Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 125-134\n\nThe post_delete handler also validates CSRF but performs no authorization check:\n\n```php\ncase 'post_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Contrast with Save Operations (Properly Authorized)\n\nThe `ForumTopicService::savePost()` method in `D:\\bugcrowd\\admidio\\repo\\src\\Forum\\Service\\ForumTopicService.php` lines 117-121 correctly verifies authorization:\n\n```php\nif ($postUUID !== '') {\n    $post->readDataByUuid($postUUID);\n    if (!$gCurrentUser->isAdministratorForum() && $post->getValue('fop_usr_id_create') !== $gCurrentUser->getValue('usr_id')) {\n        throw new Exception('You are not allowed to edit this post.');\n    }\n}\n```\n\nThe delete operations should have equivalent checks but do not.\n\n### Module-Level Access Check\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 53-59\n\nThe only check before the delete operations is the module-level access check:\n\n```php\nif ($gSettingsManager->getInt('forum_module_enabled') === 0) {\n    throw new Exception('SYS_MODULE_DISABLED');\n} elseif ($gSettingsManager->getInt('forum_module_enabled') === 1\n    && !in_array($getMode, array('cards', 'list', 'topic')) && !$gValidLogin) {\n    throw new Exception('SYS_NO_RIGHTS');\n}\n```\n\nThis only ensures the user is logged in for write operations. It does not check whether the user has forum admin rights or is the author of the content being deleted.\n\n## PoC\n\n**Prerequisites:** Two user accounts - a regular logged-in user (attacker) and a forum admin who has created topics and posts.\n\n**Step 1: Attacker discovers a topic UUID**\n\nThe attacker visits any forum topic page. Topic UUIDs are visible in the URL and page source.\n\n**Step 2: Attacker deletes the topic (and all its posts)**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=topic_delete&topic_uuid=<TOPIC_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\nThe topic and all its posts are permanently deleted from the database.\n\n**Step 3: Attacker deletes an individual post**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=post_delete&post_uuid=<POST_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\n## Impact\n\n- **Data Destruction:** Any logged-in user can permanently delete any forum topic (including all associated posts) or any individual post. The `Topic::delete()` method cascades and removes all posts belonging to the topic.\n- **Content Integrity:** Forum content created by administrators or other authorized users can be destroyed by any regular member.\n- **No Undo:** The deletion is permanent. There is no soft-delete or trash mechanism. The only recovery would be from database backups.\n- **Low Barrier:** The attacker only needs a valid login and the UUID of the target content. UUIDs are visible in forum page URLs and are not secret.\n\n## Recommended Fix\n\n### Fix 1: Add authorization check to topic_delete\n\n```php\ncase 'topic_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n\n    // Add authorization check\n    if (!$topic->isEditable()) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Fix 2: Add authorization check to post_delete\n\n```php\ncase 'post_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n\n    // Add authorization check - only forum admins or the post author can delete\n    if (!$gCurrentUser->isAdministratorForum()\n        && (int)$post->getValue('fop_usr_id_create') !== $gCurrentUserId) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```",
                    "title": "osv - https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Packagist%2FGHSA-g375-5wmp-xr78.json?alt=media"
                },
                {
                    "category": "description",
                    "text": "## Summary\n\nThe forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the `topic_delete` and `post_delete` actions in `forum.php` only validate the CSRF token but perform no authorization check before calling `delete()`. Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID.\n\nThis is inconsistent with the save/edit operations, which properly check `isAdministratorForum()` and ownership before allowing modifications.\n\n## Details\n\n### Vulnerable Code Path 1: Topic Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 98-108\n\nThe topic_delete handler validates CSRF but never calls `$topic->isEditable()`:\n\n```php\ncase 'topic_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\nThe `Topic` class has an `isEditable()` method (lines 144-164 of `ListConfiguration.php`) that properly checks `isAdministratorForum()` and `getAllEditableCategories('FOT')`, but it is never called in the delete path.\n\n### Vulnerable Code Path 2: Post Deletion\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 125-134\n\nThe post_delete handler also validates CSRF but performs no authorization check:\n\n```php\ncase 'post_delete':\n    // check the CSRF token of the form against the session token\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Contrast with Save Operations (Properly Authorized)\n\nThe `ForumTopicService::savePost()` method in `D:\\bugcrowd\\admidio\\repo\\src\\Forum\\Service\\ForumTopicService.php` lines 117-121 correctly verifies authorization:\n\n```php\nif ($postUUID !== '') {\n    $post->readDataByUuid($postUUID);\n    if (!$gCurrentUser->isAdministratorForum() && $post->getValue('fop_usr_id_create') !== $gCurrentUser->getValue('usr_id')) {\n        throw new Exception('You are not allowed to edit this post.');\n    }\n}\n```\n\nThe delete operations should have equivalent checks but do not.\n\n### Module-Level Access Check\n\nFile: `D:\\bugcrowd\\admidio\\repo\\modules\\forum.php`, lines 53-59\n\nThe only check before the delete operations is the module-level access check:\n\n```php\nif ($gSettingsManager->getInt('forum_module_enabled') === 0) {\n    throw new Exception('SYS_MODULE_DISABLED');\n} elseif ($gSettingsManager->getInt('forum_module_enabled') === 1\n    && !in_array($getMode, array('cards', 'list', 'topic')) && !$gValidLogin) {\n    throw new Exception('SYS_NO_RIGHTS');\n}\n```\n\nThis only ensures the user is logged in for write operations. It does not check whether the user has forum admin rights or is the author of the content being deleted.\n\n## PoC\n\n**Prerequisites:** Two user accounts - a regular logged-in user (attacker) and a forum admin who has created topics and posts.\n\n**Step 1: Attacker discovers a topic UUID**\n\nThe attacker visits any forum topic page. Topic UUIDs are visible in the URL and page source.\n\n**Step 2: Attacker deletes the topic (and all its posts)**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=topic_delete&topic_uuid=<TOPIC_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\nThe topic and all its posts are permanently deleted from the database.\n\n**Step 3: Attacker deletes an individual post**\n\n```\ncurl -X POST \"https://TARGET/adm_program/modules/forum.php?mode=post_delete&post_uuid=<POST_UUID>\" \\\n  -H \"Cookie: ADMIDIO_SESSION_ID=<attacker_session>\" \\\n  -d \"adm_csrf_token=<attacker_csrf_token>\"\n```\n\nExpected response: `{\"status\":\"success\"}`\n\n## Impact\n\n- **Data Destruction:** Any logged-in user can permanently delete any forum topic (including all associated posts) or any individual post. The `Topic::delete()` method cascades and removes all posts belonging to the topic.\n- **Content Integrity:** Forum content created by administrators or other authorized users can be destroyed by any regular member.\n- **No Undo:** The deletion is permanent. There is no soft-delete or trash mechanism. The only recovery would be from database backups.\n- **Low Barrier:** The attacker only needs a valid login and the UUID of the target content. UUIDs are visible in forum page URLs and are not secret.\n\n## Recommended Fix\n\n### Fix 1: Add authorization check to topic_delete\n\n```php\ncase 'topic_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $topic = new Topic($gDb);\n    $topic->readDataByUuid($getTopicUUID);\n\n    // Add authorization check\n    if (!$topic->isEditable()) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $topic->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```\n\n### Fix 2: Add authorization check to post_delete\n\n```php\ncase 'post_delete':\n    SecurityUtils::validateCsrfToken($_POST['adm_csrf_token']);\n\n    $post = new Post($gDb);\n    $post->readDataByUuid($getPostUUID);\n\n    // Add authorization check - only forum admins or the post author can delete\n    if (!$gCurrentUser->isAdministratorForum()\n        && (int)$post->getValue('fop_usr_id_create') !== $gCurrentUserId) {\n        throw new Exception('SYS_NO_RIGHTS');\n    }\n\n    $post->delete();\n    echo json_encode(array('status' => 'success'));\n    break;\n```",
                    "title": "github - https://api.github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "description",
                    "text": "Admidio is an open-source user management solution. In versions 5.0.0 through 5.0.6, the forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the topic_delete and post_delete actions in forum.php only validate the CSRF token but perform no authorization check before calling delete(). Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID. This is inconsistent with the save/edit operations, which properly check isAdministratorForum() and ownership before allowing modifications. Any logged-in user can permanently and irreversibly delete any forum topic (including all its posts) or any individual post by simply knowing its UUID (which is publicly visible in URLs), completely bypassing authorization checks. This issue has been fixed in version 5.0.7.",
                    "title": "nvd - https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-32818"
                },
                {
                    "category": "description",
                    "text": "Admidio is an open-source user management solution. In versions 5.0.0 through 5.0.6, the forum module in Admidio does not verify whether the current user has permission to delete forum topics or posts. Both the topic_delete and post_delete actions in forum.php only validate the CSRF token but perform no authorization check before calling delete(). Any authenticated user with forum access can delete any topic (with all its posts) or any individual post by providing its UUID. This is inconsistent with the save/edit operations, which properly check isAdministratorForum() and ownership before allowing modifications. Any logged-in user can permanently and irreversibly delete any forum topic (including all its posts) or any individual post by simply knowing its UUID (which is publicly visible in URLs), completely bypassing authorization checks. This issue has been fixed in version 5.0.7.",
                    "title": "cveprojectv5 - https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/32xxx/CVE-2026-32818.json"
                },
                {
                    "category": "other",
                    "text": "0.00026",
                    "title": "EPSS"
                },
                {
                    "category": "other",
                    "text": "3.6",
                    "title": "NCSC Score"
                },
                {
                    "category": "other",
                    "text": "The value of the most recent EPSS score, Is related to (a version of) an uncommon product, There is exploit data available from source Nvd",
                    "title": "NCSC Score top decreasing factors"
                }
            ],
            "product_status": {
                "known_affected": [
                    "CSAFPID-5772950",
                    "CSAFPID-5772952",
                    "CSAFPID-5772953",
                    "CSAFPID-5772954",
                    "CSAFPID-5772955",
                    "CSAFPID-5772956",
                    "CSAFPID-5846254",
                    "CSAFPID-5846255",
                    "CSAFPID-5874020",
                    "CSAFPID-5892344"
                ]
            },
            "references": [
                {
                    "category": "external",
                    "summary": "Source - github",
                    "url": "https://github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "external",
                    "summary": "Source raw - github",
                    "url": "https://api.github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "external",
                    "summary": "Source - osv",
                    "url": "https://www.googleapis.com/download/storage/v1/b/osv-vulnerabilities/o/Packagist%2FGHSA-g375-5wmp-xr78.json?alt=media"
                },
                {
                    "category": "external",
                    "summary": "Source - github",
                    "url": "https://api.github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "external",
                    "summary": "Source - nvd",
                    "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-32818"
                },
                {
                    "category": "external",
                    "summary": "Source - cveprojectv5",
                    "url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/32xxx/CVE-2026-32818.json"
                },
                {
                    "category": "external",
                    "summary": "Source - first",
                    "url": "https://api.first.org/data/v1/epss?limit=10000&offset=0"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; github; nvd; osv",
                    "url": "https://github.com/Admidio/admidio/security/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "external",
                    "summary": "Reference - github",
                    "url": "https://github.com/advisories/GHSA-g375-5wmp-xr78"
                },
                {
                    "category": "external",
                    "summary": "Reference - cveprojectv5; github; nvd",
                    "url": "https://github.com/Admidio/admidio/releases/tag/v5.0.7"
                },
                {
                    "category": "external",
                    "summary": "Reference - github",
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32818"
                }
            ],
            "scores": [
                {
                    "cvss_v3": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM"
                    },
                    "products": [
                        "CSAFPID-5772950",
                        "CSAFPID-5772952",
                        "CSAFPID-5772953",
                        "CSAFPID-5772954",
                        "CSAFPID-5772955",
                        "CSAFPID-5772956",
                        "CSAFPID-5846254",
                        "CSAFPID-5846255",
                        "CSAFPID-5874020",
                        "CSAFPID-5892344"
                    ]
                }
            ],
            "title": "CVE-2026-32818"
        }
    ]
}