New TRUST#GRAFT Attack Tricks WordPress Admin Browsers Into Installing Malicious Plugins
A new attack uses a logged-in administrator's browser session to install a malicious plugin without breaking WordPress authentication.
Overview
A new attack chainThe full sequence of steps an intruder takes from initial break-in to final goal called TRUST#GRAFT targets WordPress administrators by exploiting the trust in their already logged-in browsers. Instead of guessing passwords, the attack uses existing sessionAn active logged-in period of communication between a user or device and a server cookiesA small piece of text that a website asks your browser to store and return on later visits and noncesA random or non-repeating value used only once in a cryptographic protocol or login challenge to install a persistent PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers backdoorA hidden way into a computer or program that skips the normal login check. Many administrators keep their admin sessions active in the same browser profile they use for everyday browsing, which gives attackers a foothold. The scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application hides the real page with a fake Cloudflare screen while it collects browser details and solves a proof-of-work challenge. It also searches for sensitive tokensA short-lived digital pass that a server gives a logged-in user or app in local storage and copies attacker text to the clipboardThe temporary memory buffer where an operating system holds text or files during copy and paste.
Terms in this story
- attack chain
- The full sequence of steps an intruder takes from initial break-in to final goal. Incident reports map out the full attack chain, such as a phishing email that drops a loader, steals domain credentials, and finally deploys ransomware across servers.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- session
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- cookies
- A small piece of text that a website asks your browser to store and return on later visits. Online stores and portals use a cookie to remember who is logged in or what is in a shopping cart, which is why infostealer malware targets the browser database where cookies are stored.
- nonce
- A random or non-repeating value used only once in a cryptographic protocol or login challenge. Encryption schemes and login handshakes include a fresh nonce on every message so an attacker cannot record a valid encrypted request and replay it later.
- PHP
- A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
- backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- clipboard
- The temporary memory buffer where an operating system holds text or files during copy and paste. Clipper malware watches the system clipboard in the background and swaps a copied cryptocurrency wallet address with the attacker's own address right before you paste it.
- Plugins
- An add-on software module that extends a website, browser, or application with extra features. Small businesses add dozens of third-party plugins to their websites for contact forms or shopping carts, and an unpatched plugin flaw is a common way attackers take over a site.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"TRUST#GRAFT, a JavaScript-to-WordPress attack chain..." Found by reading the article; these exact words are in it - Who is affected: "WordPress Admin Browsers..."
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......that session to install a persistent PHP backdoor." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"New TRUST#GRAFT Attack Tricks WordPress Admin Browsers Into Installing Malicious Plugins..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......JavaScript-to-WordPress attack chain that never breaks WordPress authentication. Instead, it borrows the trust placed..." Found in the opening sentences - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......the trust placed in an already logged-in administrator's browser and uses that session to..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......that session to install a persistent PHP backdoor." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"JavaScript-to-WordPress attack chain that never breaks..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of access authentication methods.
"Multifactor authentication offers limited protection here..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role