---
id: CVE-2018-25422
title: >-
  MOGG web simulator Script contains an SQL injection vulnerability that allows
  unauthenticated attackers to execute arbitrary SQL commands by injecting
  malicious code through the id parameter
summary: >-
  MOGG web simulator Script contains an SQL injection vulnerability that allows
  unauthenticated attackers to execute arbitrary SQL commands by injecting
  malicious code through the id parameter. Attackers can send GET requests to
  play.php w…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'
cwe:
  - CWE-89
published: '2026-05-30'
updated: '2026-07-22'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2018-25422'
references:
  - url: 'https://github.com/spider312/mtgas'
    label: disclosure@vulncheck.com
  - url: 'https://www.exploit-db.com/exploits/45717'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/mogg-web-simulator-script-all-version-sql-injection-via-play-php
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00262
epssPercentile: 0.18238
ingestedAt: '2026-07-23T06:14:18.057Z'
---

## Overview

MOGG web simulator Script contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL commands by injecting malicious code through the id parameter. Attackers can send GET requests to play.php with crafted SQL payloads in the id parameter to extract sensitive database information including usernames and other data.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
