Skip to content

PHPSHE system background -xss validation #4

Description

@kk98kk0

Description of vulnerability

  1. website: PHPSHE system V1.7
  2. website domain name: http://www.phpshe.com/
  3. the IP address: http://www.phpshe.com/down/phpshe1.7.rar
  4. version: PHPSHE B2C system v1.7 (build 20180905 UTF8)

Test time:
January 7, 2019

Description of vulnerability:
Lingbao JanHao network technology co., LTD. PHPSHE system background - there are XSS vulnerabilities.

POC and validation
Local setup environment:
1, download PHPSHE V1.7 system at http://www.phpshe.com/down/phpshe1.7.rar
2, the background to http://localhost/phpshe1.7/admin.php, the password is admin/admin
3. Verify by the following POC verification methods.

POC:
http://localhost/phpshe1.7/admin.php?mod=order&state=%27%22--%3E%3C/style%3E%3C/scRipt%3E%3CscRipt%3Ealert(0x00358F)%3C/scRipt%3E

111

Suggestions for reinforcement:
filter input, escape output.

Code review:
http://localhost/phpshe1.7/admin.php?mod=order&state=%27%22--%3E%3C/style%3E%3C/scRipt%3E%3CscRipt%3Ealert(0x00358F)%3C/scRipt%3E

GET request to admin.php line 87; order_list.php loads the template and outputs it to the front-end HTML. Malicious script is executed.

2
3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions