Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Apache example to use regex match #1344

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gt-kahootz
Copy link

The example Apache Location directive shown in the lockdown guide can be bypasseed by crafting URL's that contain semi-colons.

So a URL like /;/lucee/admin/server.cfm would bypass that directive and give access to the Lucee Admin app to request from any IP.

Alternatively, you could use <LocationMatch /lucee>... instead of using the ~.

The example Apache Location directive shown in the lockdown guide can be bypasseed by crafting URL's that contain semi-colons.  

So a URL like `/;/lucee/admin/server.cfm` would bypass that directive and give access to the Lucee Admin app to request from any IP.

Alternatively, you could use `<LocationMatch /lucee>...` instead of using the `~`.
@CLAassistant
Copy link

CLAassistant commented Feb 9, 2023

CLA assistant check
All committers have signed the CLA.

@andreasRu
Copy link
Contributor

andreasRu commented Feb 10, 2023

Great input! Thx for pointing that out!!! Just updated also the docs here:
#1345 and
#1346

and also updated the video: https://www.youtube.com/watch?v=Y4zKiOSqFGw

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.

3 participants