Skip to content

templated/CVE-2026-10768 - #257

Open
dyeddala wants to merge 1 commit into
google:mainfrom
dyeddala:feature/cve-2026-10768
Open

dyeddala wants to merge 1 commit into
google:mainfrom
dyeddala:feature/cve-2026-10768

Conversation

@dyeddala

@dyeddala dyeddala commented Sep 9, 2026

Copy link
Copy Markdown

Please review

RUN composer require --no-interaction 'drupal/localgov_workflows:1.6.0'

# Configure index.php to enforce authorization check (403 Forbidden)
RUN echo "<?php \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does patched version requires changing index.php

# Configure index.php to expose vulnerable workflows view
RUN echo "<?php \
\$q = \$_GET['q'] ?? \$_SERVER['REQUEST_URI'] ?? ''; \
if (strpos(\$q, 'drupal.js') !== false) { header('Content-Type: application/javascript'); echo 'window.Drupal = window.Drupal || {};\n'; exit; } \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not able to understand this part. A real user would likely not do a manual change to their index.php. Is this testbed setup correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants