lukasfrei
08/22/2023, 1:29 PM<LocationMatch ".*CFIDE/.*">
AuthName "ColdFusion Administrator"
AuthType Basic
AuthUserFile [redacted path]/passwd.txt
<RequireAny>
Require valid-user
</RequireAny>
</LocationMatch>
that, at least, throws a basic authentication window (we don't use any of the cfide functions on our front facing projects, so that is not an issue).
but does anybody know what we missed? just to make sure and that we can tell our customer that we (believe) we did everything right.
we use jdk-11.0.20 on daily running, and jdk-11.0.13 for installing updates.
cheerios and thanks, lukasBrian Reilly
08/22/2023, 1:43 PM/..something/
lead to a bypass of your expected web access control, it's possible that you have a vulnerability due to an Aliasing or Re-write rule in a web server, load balancer, reverse proxy, etc. somewhere in your stack. You'll probably want to sort out the root cause and fix that too.
I'd suggest one tweak to your fix -- change the match to <LocationMatch "(?i).*CFIDE.*">
. And if you want to block access outright, instead of prompt for a password. this is from the CF Lockdown guide (https://www.adobe.com/content/dam/cc/us/en/products/coldfusion/pdfs/cf-starter-kits/coldfusion-2021-lockdown-guide-1.1.pdf) 5.8.2 Blocking URIs in Apache -
RedirectMatch 404 (?i).*/CFIDE.*
ColdFusion Connector security and access control can be tricky, and Adobe's response to bypass techniques has been "run the lockdown tool." So for now, I'd recommend that or manually implementing the web access control that's done by the lockdown tool.Brian Reilly
08/22/2023, 1:53 PMBrian Reilly
08/22/2023, 1:56 PMlukasfrei
08/22/2023, 1:57 PMBrian Reilly
08/22/2023, 2:35 PMBrian Reilly
08/22/2023, 2:38 PMEvil Ware
08/22/2023, 2:39 PM<LocationMatch "^/CFIDE/">
AuthName "ColdFusion Administrator"
AuthType Basic
AuthUserFile [redacted path]/passwd.txt
Require valid-user
</LocationMatch>Evil Ware
08/22/2023, 2:41 PMBrian Reilly
08/22/2023, 2:51 PM/hax/..CFIDE/
Apache does some URI normalization, but that will get throughEvil Ware
08/22/2023, 3:56 PM<VirtualHost mydomain> --
ProxyPreserveHost On
<Location ^/CFIDE/>
ProxyPass https://mydomain/
ProxyPassReverse https://mydomain/
AuthType Basic
AuthName "Authorization"
AuthUserFile /path/someplace
require valid-user
</Location>
</VirtualHost>Evil Ware
08/22/2023, 4:06 PM