Skip to content

Reject appended plaintext listener parameters#1517

Open
M0nd0R wants to merge 1 commit into
apache:masterfrom
M0nd0R:agent/cryptomapper-listener-bypass
Open

Reject appended plaintext listener parameters#1517
M0nd0R wants to merge 1 commit into
apache:masterfrom
M0nd0R:agent/cryptomapper-listener-bypass

Conversation

@M0nd0R

@M0nd0R M0nd0R commented Jul 14, 2026

Copy link
Copy Markdown

Summary

This change rejects plaintext request-listener parameters that are appended to an otherwise encrypted bookmarkable page URL.

Root Cause

decryptEntireUrl(...) decrypted the protected URL and then merged additional query parameters from the incoming request. A plaintext PageComponentInfo parameter could therefore survive outside the encrypted payload and still affect request mapping.

Fix

Reject incoming query parameters that parse as PageComponentInfo before merging the request query parameters back into the decrypted URL.

Validation

  • mvn -pl wicket-core-tests -am -Dtest=org.apache.wicket.core.request.mapper.CryptoMapperTest -Dsurefire.failIfNoSpecifiedTests=false clean test

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.

1 participant