qga/win32: Remove change action from MSI installer
authorKonstantin Kostiuk <kkostiuk@redhat.com>
Fri, 3 Mar 2023 19:20:07 +0000 (21:20 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 8 Mar 2023 16:23:40 +0000 (18:23 +0200)
Remove the 'change' button from "Programs and Features" because it does
not checks if a user is an admin or not. The installer has no components
to choose from and always installs everything. So the 'change' button is
not obviously needed but can create a security issue.

resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2167423
fixes: CVE-2023-0664 (part 1 of 2)

Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com>
Reported-by: Brian Wiltse <brian.wiltse@live.com>
qga/installer/qemu-ga.wxs

index 51340f7eccb57eaa42c1fd0ac386c25fd7aedb69..feb629ec474edd73ed271468874f374155c33b0c 100644 (file)
@@ -31,6 +31,7 @@
       />
     <Media Id="1" Cabinet="qemu_ga.$(var.QEMU_GA_VERSION).cab" EmbedCab="yes" />
     <Property Id="WHSLogo">1</Property>
+    <Property Id="ARPNOMODIFY" Value="yes" Secure="yes" />
     <MajorUpgrade
       DowngradeErrorMessage="Error: A newer version of QEMU guest agent is already installed."
       />