CVE-2020-25042: vulnerability

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-25 00:24 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

An arbitrary file upload issue exists in Mara CMS 7.5. In order to exploit this, an attacker must have a valid authenticated (admin/manager) session and make a codebase/dir.php?type=filenew request to upload PHP code to codebase/handler.php.

Description quoted from the CVE record (assigned by mitre, published 2020-09-03).

How it can be exploited

Public exploit evidence (Exploit Observer)

Exploit Observer found 1 Exploit-DB entry and 6 code repositories naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 12 references on Exploit Observer

Live scores

EPSS
0.610
very likely to be attacked soon
VEDAS
0.989
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
Not statedversions not stated in the recordNot stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.

How to detect it

Nuclei template (active check)

Mara CMS - Use-After-Free

An arbitrary file upload issue exists in Mara CMS 7.5. In order to exploit this, an attacker must have a valid authenticated (admin/manager) session and make a codebase/dir.php?type=filenew request to upload PHP code to codebase/handler.php.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /codebase/dir.php?x=%22.phpinfo().%22); it decides using status, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2020-25042.yaml
Show the template (37 lines)
yaml
id: CVE-2020-25042

info:
  name: "Mara CMS - Use-After-Free"
  author: vedas-arpsyndicate
  severity: high
  description: |
    An arbitrary file upload issue exists in Mara CMS 7.5. In order to exploit this, an attacker must have a valid
    authenticated (admin/manager) session and make a codebase/dir.php?type=filenew request to upload PHP code to
    codebase/handler.php.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2020-25042&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=mara&match=exact
  classification:
    cvss-score: 7.2
    cve-id: CVE-2020-25042
    cwe-id: CWE-416
  metadata:
    verified: false
    max-request: 1
  tags: cve,cve2020,mara,phpinfo

http:
  - method: GET
    path:
      - "{{BaseURL}}/codebase/dir.php?x=%22.phpinfo().%22"
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>phpinfo()"
          - "PHP Version"
        condition: or
      - type: status
        status:
          - 200

CVE-2020-25042.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2020-25042 Mara CMS - Use-After-Free. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2020-25042 Mara CMS - Use-After-Free"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"dir.php"; nocase; fast_pattern; content:"phpinfo"; nocase; classtype:web-application-attack; reference:cve,CVE-2020-25042; reference:url,https://www.exploit.observer/?keyword=CVE-2020-25042&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=mara&match=exact; sid:1007722; rev:2;)

CVE-2020-25042.rules on GitHub

References

Other references

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners