Skip to content

Fix: error 500 IIS#2

Merged
rhukster merged 1 commit into
getgrav:developfrom
810:patch-1
Aug 14, 2014
Merged

Fix: error 500 IIS#2
rhukster merged 1 commit into
getgrav:developfrom
810:patch-1

Conversation

@810

@810 810 commented Aug 14, 2014

Copy link
Copy Markdown
Contributor

When you have already set index.php as default, you get a error 500.
So first you need to remove it then add it again. This is solving the error 500.

When you have already set index.php as default, you get a error 500. 
So first you need to remove it then add it again. This is solving the error 500.
rhukster added a commit that referenced this pull request Aug 14, 2014
Fix: error 500 IIS - Thanks!
@rhukster rhukster merged commit 558a7b9 into getgrav:develop Aug 14, 2014
@shaun-ba shaun-ba mentioned this pull request Jan 2, 2016
Closed
flaviocopes added a commit that referenced this pull request Jan 30, 2016
@dimlau dimlau mentioned this pull request Aug 26, 2016
@ghost ghost mentioned this pull request Mar 14, 2020
@pizu pizu mentioned this pull request Mar 19, 2020
@acondura acondura mentioned this pull request Nov 11, 2020
@RalfKerkhoff RalfKerkhoff mentioned this pull request Nov 27, 2021
rhukster added a commit that referenced this pull request Apr 24, 2026
Closes the rest of the Tier-1 unauth/authz advisories from the 2026-04
batch:

- GHSA-gwfr-jfjf-92vv: Framework\Cache\Adapter\FileCache now HMAC-signs
  every payload (sha256, key from Security::getNonceKey()) and verifies
  on read. Tampered, forged, or pre-upgrade files are treated as cache
  misses and unlinked instead of being unserialized. New on-disk format
  v2\n<expires>\n<key>\n<hmac>\n<serialized>; existing caches rebuild
  transparently. (Adapter isn't currently in Grav's main cache path —
  Symfony's FilesystemAdapter is — but the class is reachable to plugin
  authors so the hardening is defensive.)

- GHSA-vj3m-2g9h-vm4p (5-part advisory):
  * #1 Scheduler\JobQueue: serialized_job blob now carries a sibling
    serialized_job_hmac field; reconstructJob refuses to unserialize an
    item whose HMAC missing/mismatches and falls through to the safe
    structured-fields rebuild. Closes the Job::exec → call_user_func_array
    direct RCE gadget chain.
  * #2 FileCache: same fix as GHSA-gwfr above.
  * #3 Session::getFlashObject: payload is now wrapped in
    "v2|<hmac>|<serialized>"; legacy/forged envelopes return null instead
    of triggering unserialize.
  * #4 InstallCommand git clone: branch/url/path coming from
    user/.dependencies are now escapeshellarg'd, with a "--" separator
    before url/path to block option-injection (e.g. --upload-pack=evil
    in path).
  * #5 cleanDangerousTwig: twig_array_reduce (advisory call-out) plus
    twig_array_some/twig_array_every added to CALLABLE_DANGEROUS_NAMES.

Two new test files (FileCacheSecurityTest, UnserializeIntegritySecurityTest)
covering 13 cases between them; CleanDangerousTwigTest extended with the
new twig_array_* entries. Full unit suite: 645 tests, 2447 assertions.
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