Description
WeRSS (we-mp-rss) through 1.5.3 contains a remote code execution vulnerability that allows unauthenticated attackers to run code via the template parameter of the public GET /rss/{feed_id} endpoint. Attackers can supply a non-built-in ext value and a {{=expression}} template whose object-subclass traversal bypasses the eval denylist to run OS commands as the service account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rachelos | we-mp-rss | ≤ 1.5.3 | — |
References
- https://hackmd.io/@hieuPenguinnn/werss-rss-template-unauth-ssti-rce third-party-advisory
- https://github.com/rachelos/we-mp-rss/blob/v1.5.3/core/lax/template_parser.py#L1150-L1166 technical-description
- https://github.com/rachelos/we-mp-rss/blob/v1.5.3/apis/rss.py#L185-L198 technical-description
- VulnCheck Advisory: WeRSS (we-mp-rss) through 1.5.3 RCE via template Parameter in /rss Endpoint third-party-advisory