Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
open-vm-tools-debian
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Provoz
open-vm-tools-debian
Commits
422b6650
Commit
422b6650
authored
2 years ago
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
right patch and change changelog
parent
612555a3
No related branches found
No related tags found
No related merge requests found
Pipeline
#2055
failed
2 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
1125-Properly-check-authorization-on-incoming-guestOps-re.patch
+15
-0
15 additions, 0 deletions
...roperly-check-authorization-on-incoming-guestOps-re.patch
make.sh
+13
-1
13 additions, 1 deletion
make.sh
with
28 additions
and
1 deletion
1125-Properly-check-authorization-on-incoming-guestOps-re.patch
0 → 100644
+
15
−
0
View file @
422b6650
Index: pkg-open-vm-tools/open-vm-tools/vgauth/serviceImpl/proto.c
===================================================================
--- pkg-open-vm-tools.orig/open-vm-tools/vgauth/serviceImpl/proto.c
+++ pkg-open-vm-tools/open-vm-tools/vgauth/serviceImpl/proto.c
@@ -1201,6 +1201,10 @@
Proto_SecurityCheckRequest(ServiceConnec
VGAuthError err;
gboolean isSecure = ServiceNetworkIsConnectionPrivateSuperUser(conn);
+ if (conn->isPublic && req->reqType != PROTO_REQUEST_SESSION_REQ) {
+ return VGAUTH_E_PERMISSION_DENIED;
+ }
+
switch (req->reqType) {
/*
* This comes over the public connection; alwsys let it through.
This diff is collapsed.
Click to expand it.
make.sh
+
13
−
1
View file @
422b6650
...
@@ -33,9 +33,21 @@ dget https://deb.debian.org/debian/pool/main/o/open-vm-tools/open-vm-tools_10.3.
...
@@ -33,9 +33,21 @@ dget https://deb.debian.org/debian/pool/main/o/open-vm-tools/open-vm-tools_10.3.
cd
open-vm-tools-10.3.10
cd
open-vm-tools-10.3.10
mk-build-deps
--install
--tool
=
'apt-get -o Debug::pkgProblemResolver=yes --yes'
debian/control
mk-build-deps
--install
--tool
=
'apt-get -o Debug::pkgProblemResolver=yes --yes'
debian/control
wget https://salsa.debian.org/vmware-packaging-team/pkg-open-vm-tools/-/raw/67b16ff62228304dfe96d33a0ba663c2e8d3167d/debian/patches/1125-Properly-check-authorization-on-incoming-guestOps-re.patch
-O
debian/patches/1125-Properly-check-authorization-on-incoming-guestOps-re.patch
#wget https://salsa.debian.org/vmware-packaging-team/pkg-open-vm-tools/-/raw/67b16ff62228304dfe96d33a0ba663c2e8d3167d/debian/patches/1125-Properly-check-authorization-on-incoming-guestOps-re.patch -O debian/patches/1125-Properly-check-authorization-on-incoming-guestOps-re.patch
cp
-v
1125-Properly-check-authorization-on-incoming-guestOps-re.patch debian/patches
echo
'1125-Properly-check-authorization-on-incoming-guestOps-re.patch'
>>
debian/patches/series
echo
'1125-Properly-check-authorization-on-incoming-guestOps-re.patch'
>>
debian/patches/series
cat
<<
EOCHL
> debian/changelog
open-vm-tools (2:10.3.10-1+deb10u2+dex1) buster; urgency=medium
* [67b16ff] Properly check authorization on incoming guestOps requests.
(Closes: #1018012 CVE-2022-31676)
-- Bernd Zeimetz <bzed@debian.org> Wed, 24 Aug 2022 10:28:40 +0200
$(
cat
debian/changelog
)
EOCHL
dpkg-buildpackage
-uc
-us
-b
dpkg-buildpackage
-uc
-us
-b
cd
..
cd
..
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment