Joomla Extension - regularlabs.com - PHP code injection via content inserted during article preparation in Sourcerer extension < 17.0.2
Joomla Extension - regularlabs.com - PHP code injection via content inserted during article preparation in Sourcerer extension < 18.0.0 - Sourcerer decided whether PHP may run based on the author or last editor of the host article and applied that decision to complete code blocks that other extensions, such as Users Anywhere, inserted into the article while it was prepared. A user able to edit a value rendered by such an extension, for example the display name in their own user profile, could therefore have PHP executed in the context of a trusted article. Sourcerer 18.0.0 authorizes each executable block against its own source; Users Anywhere 3.1.0, ReReplacer 16.4.0 and Snippets 11.2.0 supply the source information needed to keep executing eligible saved content.
Improper Control of Generation of Code CWE-94
An attacker can get the software to run code they supply.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 5 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| regularlabs.com Sourcerer extension for Joomla | Software | 1.0.0-17.0.1 | not recorded |
| regularlabs.com Articles Anywhere extension for Joomla | Software | 1.0.0-20.1.1 | not recorded |
| regularlabs.com ReReplacer extension for Joomla | Software | 1.0.0-16.3.0 | not recorded |
| regularlabs.com Snippets extension for Joomla | Software | 1.0.0-11.1.1 | not recorded |
| regularlabs.com Users Anywhere extension for Joomla | Software | 1.0.0-3.0.1 | not recorded |
The 7.7 severity score (high) from joomla.org, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
NIST lists 1 sources for this flaw, none tagged as a vendor patch.