Skip to content

Fixed typos/CS#3

Merged
rhukster merged 1 commit into
getgrav:developfrom
pborreli:typos
Aug 17, 2014
Merged

Fixed typos/CS#3
rhukster merged 1 commit into
getgrav:developfrom
pborreli:typos

Conversation

@pborreli

Copy link
Copy Markdown
Contributor

No description provided.

@rhukster

Copy link
Copy Markdown
Member

Thanks for the fixes!

rhukster added a commit that referenced this pull request Aug 17, 2014
@rhukster rhukster merged commit c1b2b5f into getgrav:develop Aug 17, 2014
@pborreli pborreli deleted the typos branch August 17, 2014 20:33
@mahagr mahagr added this to the 0.9.0 Release milestone Aug 23, 2014
@rhukster rhukster mentioned this pull request Jan 7, 2016
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
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants