PT SWARM
6.98K subscribers
133 photos
7 videos
1 file
200 links
Positive Technologies Offensive Team: twitter.com/ptswarm

This is the channel where we share articles/vulnerabilities/scripts/etc, not necessarily authored by us, that we find interesting
Download Telegram
PoC for a stored XSS in MyBB < 1.8.25 (CVE-2021-27279). The vulnerability was found by our researcher Igor Sak-Sakovskiy.

Payload: [email]a@a.a?[email=a@a.a? onmouseover=alert(1) a]a[/email][/email]

Advisory: https://github.com/mybb/mybb/security/advisories/GHSA-6483-hcpp-p75w
RCE 0-day exploit found in log4j, a popular Java logging package

πŸ‘€ by Free Wortley, Chris Thompson

0-day exploit in the popular Java logging library log4j was discovered that results in Remote Code Execution (RCE) by logging a certain string. This post provides resources to understand the vulnerability and how to mitigate it.


πŸ“ Contents:
β€’ Who is impacted?
β€’ Affected Apache log4j Versions
β€’ Temporary Mitigations
β€’ How the exploit works
β€’ Exploit Requirements
β€’ Example Vulnerable Code
β€’ Exploit Steps
β€’ How you can prevent future attacks

https://www.lunasec.io/docs/blog/log4j-zero-day/
Cache Poisoning at Scale

πŸ‘€ by Youstin

Even though Web Cache Poisoning has been around for years, the increasing complexity in technology stacks constantly introduces unexpected behaviour which can be abused to achieve novel cache poisoning attacks. In this paper author will present the techniques that he used to report over 70 cache poisoning vulnerabilities to various Bug Bounty programs.


πŸ“ Contents:
β€’ Backstory
β€’ Incorrect Handling of the URL Fragment in Apache Traffic Server (CVE-2021-27577)
β€’ GitHub CP-DoS
β€’ GitLab CP-DoS
β€’ X-Forwarded-Scheme - Rack Middleware
β€’ CP-DoS on Hackerone.com static files
β€’ Single request DoS of www.shopify.com
β€’ Stored XSS on 21 subdomains
β€’ Cloudflare and Storage Buckets
β€’ S3 Bucket
β€’ Azure Storage
β€’ Fastly Host header injection
β€’ Injecting Keyed Parameters
β€’ User Agent Rules
β€’ Illegal Header Fields
β€’ Finding New Headers
β€’ Common headers
β€’ Conclusion

https://youst.in/posts/cache-poisoning-at-scale/
New article "Fuzzing for XSS via nested parsers condition" by our researcher @Psych0tr1a.

This techniques allowed us to find a bunch of vulnerabilities in popular web products that no one had noticed before!

https://swarm.ptsecurity.com/fuzzing-for-xss-via-nested-parsers-condition/
πŸ‘2
Our research "Fuzzing for XSS via nested parsers condition" is in the Top 10 Web Hacking Techniques of 2021 nomination list. Don't forget to vote for us if you enjoyed the technique 😜

Link for voting: https://portswigger.net/polls/top-10-web-hacking-techniques-2021
πŸ‘2
Hacking the Apple Webcam (again)

πŸ‘€ by Ryan Pickren

Gaining unauthorized camera access via Safari UXSS, this research resulted in 4 0day bugs (CVE-2021-30861, CVE-2021-30975, and two without CVEs), 2 of which were used in the camera hack.

πŸ“ Contents:
β€’ Summary
β€’ Background
β€’ The Attack Plan
β€’ Exploration of custom URI Schemes
β€’ Exploit Requirements
β€’ ShareBear Application
β€’ Bonus Bug: Iframe Sandbox Escape
β€’ Quarantine and Gatekeeper
β€’ Shortcuts
β€’ Full Chain
β€’ Remediation
β€’ Bonus Material (#1)
β€’ Bonus Material (#2)
β€’ Conclusion

https://www.ryanpickren.com/safari-uxss
πŸ‘5
The CFP for Positive Hack Days 2022 is open!

It's time to present your novel techniques/research.

This year the conference will be in a hybrid format (offline and online) both for speakers and participants.

Submit your proposal - https://cfp.phdays.com
πŸ‘7
A story of leaking uninitialized memory from Fastly

πŸ‘€ by Emil Lerner

This post will go through a QUIC (HTTP/3) implementation bug in the H2O webserver. The bug is pretty interesting as it affected Fastly in a way that it allowed stealing random requests and responses from uninitialized memory of its’ nodes, somewhat similar to CloudBleed

πŸ“ Contents:
β€’ Setting up a test environment
β€’ Detecting which software is used
β€’ QUIC streams
β€’ Data transfer
β€’ The bug
β€’ The exploit plan
β€’ Exploitation
β€’ Disclosure
β€’ Conclusion

https://medium.com/@emil.lerner/leaking-uninitialized-memory-from-fastly-83327bcbee1f
πŸ‘9
A Tip for SQL Injection WAF Bypass
πŸ‘26
New article by our researchers Mikhail Klyuchnikov and Egor Dimitrenko about unauth RCEs in VMware products: "Hunting for bugs in VMware: View Planner and vRealize Business for Cloud".

Read the article: https://swarm.ptsecurity.com/hunting-for-bugs-in-vmware-view-planner-and-vrealize-business-for-cloud/

This is the first article about our VMware research. More to come!
πŸ‘15
We have reproduced the fresh CVE-2022-24086 Improper Input Validation vulnerability in Magento Open Source and Adobe Commerce.

Successful exploitation could lead to RCE from an unauthenticated user.
πŸ‘17
PT SWARM
We have reproduced the fresh CVE-2022-24086 Improper Input Validation vulnerability in Magento Open Source and Adobe Commerce. Successful exploitation could lead to RCE from an unauthenticated user.
We have successfully bypassed the patch for RCE in Magento Open Source and Adobe Commerce (CVE-2022-24086), and have sent the report to Adobe (we weren't the first). The new CVE-2022-24087 was issued. Hotfix is available now.

Patch ASAP!
πŸ‘7
Relaying Kerberos over DNS using krbrelayx and mitm6

πŸ‘€ by Dirk-jan Mollema

In scenario, where attacker have the ability to spoof a DNS server via DHCPv6 spoofing with mitm6, he can get victim machines to reliably authenticate to him using Kerberos and their machine account. This authentication can be relayed to any service that does not enforce integrity, such as Active Directory Certificate Services (AD CS) http(s) based enrollment, which in turn makes it possible to execute code as SYSTEM on that host. This technique is faster, more reliable and less invasive than relaying WPAD authentication with mitm6, but does of course require AD CS to be in use.

πŸ“ Contents:
β€’ Kerberos over DNS
β€’ Abusing DNS authentication
β€’ Changes to krbrelayx and mitm6
β€’ Attack example
β€’ Defenses
β€’ Mitigating mitm6
β€’ Mitigating relaying to AD CS
β€’ Tools

https://dirkjanm.io/relaying-kerberos-over-dns-with-krbrelayx-and-mitm6
πŸ‘6
Adding save function to impacket's ```reg.py``` for Backup Operators to Domain Admin exploitation

save feature to reg.py allows for remote saving of registry hives. The feature can be used to escalate from Backup Operators to Domain Admin by retrieving a Domain Controller's hives and using them to obtain hash and act as the Domain Controller or as the domain admin directly.
backup method which doesn't mirror an existing function of the original reg cmdlet but instead allows to dump SAM, SYSTEM and SECURITY "at once".

https://github.com/SecureAuthCorp/impacket/pull/1257
πŸ‘1
New article by our researcher Egor Dimitrenko about unauth vulnerabilities in VMware products: "Catching bugs in VMware: Carbon Black Cloud Workload and vRealize Operations Manager". This is the second in series of our VMware research.

Read the article: https://swarm.ptsecurity.com/catching-bugs-in-vmware-carbon-black-cloud-workload-appliance-and-vrealize-operations-manager/
πŸ‘8
The Dirty Pipe Vulnerability

πŸ‘€ by Max Kellermann

This is the story of CVE-2022-0847, a vulnerability in the Linux kernel since 5.8 which allows overwriting data in arbitrary read-only files. This leads to privilege escalation because unprivileged processes can inject code into root processes.
It is similar to CVE-2016-5195 β€œDirty Cow” but is easier to exploit.
The vulnerability was fixed in Linux 5.16.11, 5.15.25 and 5.10.102.


πŸ“ Contents:
β€’ Abstract
β€’ Corruption pt. I
β€’ Access Logging
β€’ Corruption pt. II
β€’ Corruption pt. III
β€’ Man staring at code
β€’ Man staring at kernel code
β€’ Pipes and Buffers and Pages
β€’ Uninitialized
β€’ Corruption pt. IV
β€’ Exploiting
β€’ Timeline

https://dirtypipe.cm4all.com
πŸ‘4
Oracle Access Manager Pre-Auth RCE (CVE-2021–35587 Analysis)

πŸ‘€ by Jang and Peter

Vulnerability in the Oracle Access Manager product of Oracle Fusion Middleware (component: OpenSSO Agent). Supported versions that are affected are 11.1.2.3.0, 12.2.1.3.0 and 12.2.1.4.0. Easily exploitable vulnerability may give the attacker access to OAM server, to create any user with any privileges, or just get code execution in the victim’s server

https://testbnull.medium.com/oracle-access-manager-pre-auth-rce-cve-2021-35587-analysis-1302a4542316
πŸ‘4
βœ… A tip for those who hunt bugs in mobile applications from Starbucks
πŸ‘8
Veeam fixed an Unauth RCE (CVE-2022-26500, CVE-2022-26501) in Veeam Backup & Replication and Local Privilege Escalation (CVE-2022-26503) in Veeam Agent for Microsoft Windows found by our researcher Nikita Petrov.

Advisory: https://www.veeam.com/kb4288
πŸ‘17
βœ… A tip for obtaining NT hash from GenericWrite/All privileges. Works for both user and machine accounts.
πŸ‘19