diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-14 15:28:25 +0200 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-10-17 10:51:27 +0200 |
| commit | 80b536578028e4f6d0e5d13d133d1d88764f7445 (patch) | |
| tree | 19319780f8d71904d2f920ec61e1e79651d5a130 /meta-webserver | |
| parent | b4c4f0c52537afd097c967850267e4e29e4a620f (diff) | |
| download | meta-openembedded-80b536578028e4f6d0e5d13d133d1d88764f7445.tar.gz | |
webmin: patch CVE-2022-0829
Details: https://nvd.nist.gov/vuln/detail/CVE-2022-0829
Pick the patch from the nvd report details.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-webserver')
| -rw-r--r-- | meta-webserver/recipes-webadmin/webmin/files/0001-Add-missing-permissions-check-when-saving-allowed-cr.patch | 25 | ||||
| -rw-r--r-- | meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/files/0001-Add-missing-permissions-check-when-saving-allowed-cr.patch b/meta-webserver/recipes-webadmin/webmin/files/0001-Add-missing-permissions-check-when-saving-allowed-cr.patch new file mode 100644 index 0000000000..a1ab677bc9 --- /dev/null +++ b/meta-webserver/recipes-webadmin/webmin/files/0001-Add-missing-permissions-check-when-saving-allowed-cr.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | From 15dd0e4e55579671c01e4808236beb4fe23e9eef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jamie Cameron <jcameron@webmin.com> | ||
| 3 | Date: Sat, 19 Feb 2022 13:10:36 -0800 | ||
| 4 | Subject: [PATCH] Add missing permissions check when saving allowed cron users | ||
| 5 | |||
| 6 | CVE: CVE-2022-0829 | ||
| 7 | Upstream-Status: Backport [https://github.com/webmin/webmin/commit/eeeea3c097f5cc473770119f7ac61f1dcfa671b9] | ||
| 8 | |||
| 9 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 10 | --- | ||
| 11 | cron/save_allow.cgi | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/cron/save_allow.cgi b/cron/save_allow.cgi | ||
| 15 | index 87bbe453..73df9a84 100755 | ||
| 16 | --- a/cron/save_allow.cgi | ||
| 17 | +++ b/cron/save_allow.cgi | ||
| 18 | @@ -4,6 +4,7 @@ | ||
| 19 | |||
| 20 | require './cron-lib.pl'; | ||
| 21 | &ReadParse(); | ||
| 22 | +$access{'allow'} || &error($text{'allow_ecannot'}); | ||
| 23 | |||
| 24 | &lock_file($config{cron_allow_file}); | ||
| 25 | &lock_file($config{cron_deny_file}); | ||
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb index d553c7530c..78ab19601f 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb | |||
| @@ -23,6 +23,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \ | |||
| 23 | file://0001-HTML-escape-command-description.patch \ | 23 | file://0001-HTML-escape-command-description.patch \ |
| 24 | file://0001-Object-names-cannot-contact-special-characters.patch \ | 24 | file://0001-Object-names-cannot-contact-special-characters.patch \ |
| 25 | file://0001-Foreign-module-may-need-a-check.patch \ | 25 | file://0001-Foreign-module-may-need-a-check.patch \ |
| 26 | file://0001-Add-missing-permissions-check-when-saving-allowed-cr.patch \ | ||
| 26 | " | 27 | " |
| 27 | 28 | ||
| 28 | SRC_URI[md5sum] = "cd6ee98f73f9418562197675b952d81b" | 29 | SRC_URI[md5sum] = "cd6ee98f73f9418562197675b952d81b" |
