<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>vyos on Rich Mirch</title>
    <link>https://blog.mirch.io/tags/vyos/</link>
    <description>Recent content in vyos on Rich Mirch</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 25 Sep 2020 20:52:25 +0000</lastBuildDate>
    <atom:link href="https://blog.mirch.io/tags/vyos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Metasploit module developed for CVE-2018-18556 VyOS Privilege Escalation</title>
      <link>https://blog.mirch.io/2020/09/25/metasploit-module-developed-for-cve-2018-18556-vyos-privilege-escalation/</link>
      <pubDate>Fri, 25 Sep 2020 20:52:25 +0000</pubDate>
      <guid>https://blog.mirch.io/2020/09/25/metasploit-module-developed-for-cve-2018-18556-vyos-privilege-escalation/</guid>
      <description>&lt;p&gt;Today, a Metasploit module was merged for a vulnerability I found in 2018 with &lt;a href=&#34;https://www.vyos.io/&#34;&gt;VyOS&lt;/a&gt;. This vulnerability was my first public InfoSec blog post. I appreciate &lt;a href=&#34;https://github.com/bcoles&#34;&gt;bcoles&lt;/a&gt; for developing the &lt;a href=&#34;https://github.com/rapid7/metasploit-framework/pull/14123&#34;&gt;exploit/linux/ssh/vyos_restricted_shell_privesc&lt;/a&gt; module. Read the &lt;a href=&#34;https://www.rapid7.com/blog/post/2020/09/25/metasploit-wrap-up-80/&#34;&gt;Metasploit Wrapup for 9/25/2020&lt;/a&gt;. The full write-up can be found on this blog at &lt;a href=&#34;https://blog.mirch.io/2018/11/05/cve-2018-18556-vyos-privilege-escalation-via-sudo-pppd-for-operator-users/&#34;&gt;CVE-2018-18556 – VyOS Privilege escalation via sudo pppd for operator users&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CVE-2018-18556 - VyOS Privilege escalation via sudo pppd for operator users</title>
      <link>https://blog.mirch.io/2018/11/05/cve-2018-18556-vyos-privilege-escalation-via-sudo-pppd-for-operator-users/</link>
      <pubDate>Tue, 06 Nov 2018 04:39:42 +0000</pubDate>
      <guid>https://blog.mirch.io/2018/11/05/cve-2018-18556-vyos-privilege-escalation-via-sudo-pppd-for-operator-users/</guid>
      <description>&lt;p&gt;Recently I found several ways to escape the restricted shell for an operator user in &lt;a href=&#34;https://wiki.vyos.net/wiki/User_Guide&#34;&gt;VyOS&lt;/a&gt; 1.1.8. VyOS is a Linux-based network operating system that provides software-based network routing, firewall, and VPN functionality. I plan to post information on the restricted shell escapes in the near future; For now read the &lt;a href=&#34;http://blog.vyos.net/the-operator-level-is-proved-insecure-and-will-be-removed-in-the-next-releases&#34;&gt;blog&lt;/a&gt; by &lt;a href=&#34;https://x.com/dmbaturin&#34;&gt;@dmbaturin&lt;/a&gt; detailing some of the methods.&lt;/p&gt;
&lt;p&gt;This post will focus on how root access was obtained using sudo after the restricted shell was escaped. One of my first post exploitation steps on Linux after a low privileged shell is obtained is to check if the user has sudo rules configured. Sudo is designed to limit privileges but often it can be leveraged to elevate access.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
