Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   eFiction Vendors:   eFiction Project
eFiction Input Validation Holes Let Remote Users Inject SQL Commands, Conduct Cross-Site Scripting Attacks, and Execute Arbitrary Code
SecurityTracker Alert ID:  1015273
SecurityTracker URL:
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Nov 25 2005
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information, User access via network
Exploit Included:  Yes  
Version(s): 2.0 and prior versions
Description:   rgod reported a vulnerability in eFiction. A remote user can inject SQL commands and conduct cross-site scripting attacks. A remote user can upload and execute arbitrary PHP code.

Several scripts do not properly filter HTML code from user-supplied input before displaying the input. A remote user can create a specially crafted URL that, when loaded by a target user, will cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the eFiction software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

Some demonstration exploit URLs are provided:

For version 1.0, 1.1:


For version 2.0:


The software does not properly validate user-supplied input. A remote user can supply specially crafted parameter values to execute SQL commands on the underlying database.

If magic_quotes_gpc is disabled, the following scripts can be exploited:

For version 1.0:


For version 1.1:


For version 2.0:


If magic_quotes_gpc is disabled, a remote user can inject specially crafted text for the username value to bypass authentication and gain administrative access to the target application. Some demonstration exploit values are provided:

For version 1.0:

username: 'UNION SELECT 'd41d8cd98f00b204e9800998ecf8427e',penname,uid,userskin,level,email FROM fanfiction_authors where level=1/*
password: [nothing]

For version 1.1:

username: 'UNION SELECT 'd41d8cd98f00b204e9800998ecf8427e',penname,uid,userskin,level,email,categories FROM fanfiction_authors where level=1/*
password: [nothing]

For version 2.0:

username: 'UNION SELECT 'd41d8cd98f00b204e9800998ecf8427e',penname,uid,userskin,level,email,categories,ageconsent FROM fanfiction_authors where level=1/*
password: [nothing]

A remote user can register to obtain a temporary password and then invoke the image upload feature to upload a file containing arbitrary PHP code. Then, the user can load one of the following URLs to cause the arbitrary PHP code to be executed:

For version 1.0, 1.1:


For version 2.0:


The original advisory is available at:

Impact:   A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the eFiction software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.

A remote user can execute SQL commands on the underlying database.

A remote user can execute arbitrary PHP code and operating system commands on the target system with the privileges of the target web service.

Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  eFiction <=2.0 Multiple vulnerabilities


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, LLC