From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Konstantin Kostiuk <kkostiuk@redhat.com>, qemu-devel@nongnu.org
Cc: "Daniel P . Berrangé" <berrange@redhat.com>,
"Bin Meng" <bin.meng@windriver.com>,
"Stefan Weil" <sw@weilnetz.de>,
"Yonggang Luo" <luoyonggang@gmail.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Michael Roth" <michael.roth@amd.com>,
"Mauro Matteo Cascella" <mcascell@redhat.com>,
"Yan Vugenfirer" <yvugenfi@redhat.com>,
"Evgeny Iakovlev" <eiakovlev@linux.microsoft.com>,
"Andrey Drobyshev" <andrey.drobyshev@virtuozzo.com>,
"Xuzhou Cheng" <xuzhou.cheng@windriver.com>,
"Brian Wiltse" <brian.wiltse@live.com>
Subject: Re: [PATCH v2 0/2] QGA installer fixes
Date: Tue, 21 Feb 2023 12:41:00 +0100 [thread overview]
Message-ID: <170a0ba8-d85c-4b31-557a-d85b12b88089@linaro.org> (raw)
In-Reply-To: <20230221112157.418648-1-kkostiuk@redhat.com>
On 21/2/23 12:21, Konstantin Kostiuk wrote:
> resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2167423
> fixes: CVE-2023-0664
>
> CVE Technical details: The cached installer for QEMU Guest Agent in c:\windows\installer
> (https://github.com/qemu/qemu/blob/master/qga/installer/qemu-ga.wxs),
> can be leveraged to begin a repair of the installation without validation
> that the repair is being performed by an administrative user. The MSI repair
> custom action "RegisterCom" and "UnregisterCom" is not set for impersonation
> which allows for the actions to occur as the SYSTEM account
> (LINE 137 AND 145 of qemu-ga.wxs). The custom action also leverages cmd.exe
> to run qemu-ga.exe in line 134 and 142 which causes an interactive command
> shell to spawn even though the MSI is set to be non-interactive on line 53.
>
> v1: https://lists.nongnu.org/archive/html/qemu-devel/2023-02/msg05661.html
Per
https://lore.kernel.org/qemu-devel/CAA8xKjUQFBVgDVJ059FvGoSjkv+kZ5jB1gfMNz+ao-twH7FDRg@mail.gmail.com/:
Reported-by: Brian Wiltse <brian.wiltse@live.com>
> v1 -> v2:
> Add explanation into commit messages
Thanks, much appreciated!
> Konstantin Kostiuk (2):
> qga/win32: Remove change action from MSI installer
> qga/win32: Use rundll for VSS installation
>
> qga/installer/qemu-ga.wxs | 11 ++++++-----
> qga/vss-win32/install.cpp | 9 +++++++++
> qga/vss-win32/qga-vss.def | 2 ++
> 3 files changed, 17 insertions(+), 5 deletions(-)
>
> --
> 2.25.1
>
next prev parent reply other threads:[~2023-02-21 11:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 11:21 [PATCH v2 0/2] QGA installer fixes Konstantin Kostiuk
2023-02-21 11:21 ` [PATCH v2 1/2] qga/win32: Remove change action from MSI installer Konstantin Kostiuk
2023-02-21 11:21 ` [PATCH v2 2/2] qga/win32: Use rundll for VSS installation Konstantin Kostiuk
2023-02-21 11:41 ` Philippe Mathieu-Daudé [this message]
2023-02-27 8:18 ` [PATCH v2 0/2] QGA installer fixes Konstantin Kostiuk
2023-02-28 22:48 ` Brian Wiltse
2023-03-02 11:06 ` Philippe Mathieu-Daudé
2023-03-05 3:01 ` Brian Wiltse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=170a0ba8-d85c-4b31-557a-d85b12b88089@linaro.org \
--to=philmd@linaro.org \
--cc=alex.bennee@linaro.org \
--cc=andrey.drobyshev@virtuozzo.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=bin.meng@windriver.com \
--cc=brian.wiltse@live.com \
--cc=eiakovlev@linux.microsoft.com \
--cc=kkostiuk@redhat.com \
--cc=kraxel@redhat.com \
--cc=luoyonggang@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=mcascell@redhat.com \
--cc=michael.roth@amd.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sw@weilnetz.de \
--cc=thuth@redhat.com \
--cc=xuzhou.cheng@windriver.com \
--cc=yvugenfi@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).