CVE-2021-21425

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21425
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21425.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21425
Related
  • GHSA-6f53-6qgv-39pj
Published
2021-04-07T19:15:12Z
Modified
2025-01-14T08:49:38.434294Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Grav Admin Plugin is an HTML user interface that provides a way to configure Grav and create and modify pages. In versions 1.10.7 and earlier, an unauthenticated user can execute some methods of administrator controller without needing any credentials. Particular method execution will result in arbitrary YAML file creation or content change of existing YAML files on the system. Successfully exploitation of that vulnerability results in configuration changes, such as general site information change, custom scheduler job definition, etc. Due to the nature of the vulnerability, an adversary can change some part of the webpage, or hijack an administrator account, or execute operating system command under the context of the web-server user. This vulnerability is fixed in version 1.10.8. Blocking access to the /admin path from untrusted sources can be applied as a workaround.

References

Affected packages

Git / github.com/getgrav/grav-plugin-admin

Affected ranges

Type
GIT
Repo
https://github.com/getgrav/grav-plugin-admin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.2.0
0.3.0
0.4.0
0.4.1
0.4.2
0.4.3
0.5.0
0.6.0
0.6.1
0.6.2

1.*

1.0.0
1.0.0-rc.1
1.0.0-rc.2
1.0.0-rc.3
1.0.0-rc.4
1.0.0-rc.5
1.0.0-rc.6
1.0.0-rc.7
1.0.1
1.0.10
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.0-beta.1
1.1.0-beta.2
1.1.0-beta.3
1.1.0-beta.4
1.1.0-beta.5
1.1.0-rc.1
1.1.0-rc.2
1.1.0-rc.3
1.1.0-rc.4
1.1.1
1.1.2
1.1.3
1.1.4
1.10.0
1.10.0-beta.1
1.10.0-beta.10
1.10.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