what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 20642

Secunia Security Advisory 20642
Posted Jun 14, 2006
Authored by Secunia | Site secunia.com

Secunia Security Advisory - DarkFig has discovered some vulnerabilities in PhpMyFactures, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks, and to bypass certain security restrictions.

tags | advisory, vulnerability, xss, sql injection
SHA-256 | e6ae51ac3594dd54c8d670df0872137c010b84da33699547784a1c01d2cbcc82

Secunia Security Advisory 20642

Change Mirror Download


----------------------------------------------------------------------

Want to join the Secunia Security Team?

Secunia offers a position as a security specialist, where your daily
work involves reverse engineering of software and exploit code,
auditing of source code, and analysis of vulnerability reports.

http://secunia.com/secunia_security_specialist/

----------------------------------------------------------------------

TITLE:
PhpMyFactures Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA20642

VERIFY ADVISORY:
http://secunia.com/advisories/20642/

CRITICAL:
Moderately critical

IMPACT:
Security Bypass, Cross Site Scripting, Manipulation of data

WHERE:
>From remote

SOFTWARE:
PhpMyFactures 1.x
http://secunia.com/product/10482/

DESCRIPTION:
DarkFig has discovered some vulnerabilities in PhpMyFactures, which
can be exploited by malicious people to conduct cross-site scripting
and SQL injection attacks, and to bypass certain security
restrictions.

1) Input passed to the "prefixe_dossier" parameter in
/inc/header.php, to the "msg" parameter in
/remises/ajouter_remise.php, /tva/ajouter_tva.php,
/stocks/ajouter.php, /pays/ajouter_pays.php,
/produits/ajouter_cat.php, /produits/ajouter_produit.php and
/produits/modifier_cat.php, to the "tire" parameter in
/remises/ajouter_remise.php, to the "quantite", "taux" and "date"
parameters in /stocks/ajouter.php, and to the "pays" and "prefixe"
parameters in /pays/ajouter_pays.php isn't properly sanitised before
being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.

2) Input passed to the "id_pays" parameter in
/pays/modifier_pays.php, to the "id_produit", "quantite", "prix_ht"
and "date" parameters in /stocks/ajouter.php, to the "id_cat"
parameter in /produits/modifier_cat.php, and to the "id_client"
parameter in /clients/modifier_client.php isn't properly sanitised
before being used in a SQL query. This can be exploited to manipulate
SQL queries by injecting arbitrary SQL code without requiring admin
logon.

Successful exploitation requires that "magic_quotes_gpc" is
disabled.

3) Access to several scripts isn't properly restricted to the logon
administrative user. This can be exploited to manipulate data in the
database without requiring a valid logon.

The following scripts are affected.
/tva/ajouter_tva.php
/remises/ajouter_remise.php
/pays/ajouter_pays.php
/pays/modifier_pays.php
/produits/ajouter_cat.php
/produits/ajouter_produit.php
/clients/ajouter_client.php
/clients/modifier_client.php

The vulnerabilities have been confirmed in version 1.2 and also
reported in version 1.0. Other versions may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY:
DarkFig

ORIGINAL ADVISORY:
http://www.acid-root.new.fr/advisories/phpmyfactures.txt

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    0 Files
  • 8
    Nov 8th
    0 Files
  • 9
    Nov 9th
    0 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    0 Files
  • 12
    Nov 12th
    0 Files
  • 13
    Nov 13th
    0 Files
  • 14
    Nov 14th
    0 Files
  • 15
    Nov 15th
    0 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    0 Files
  • 19
    Nov 19th
    0 Files
  • 20
    Nov 20th
    0 Files
  • 21
    Nov 21st
    0 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close